diff --git a/components/webapi.js b/components/webapi.js index 86945ff..dc507fa 100644 --- a/components/webapi.js +++ b/components/webapi.js @@ -14,6 +14,10 @@ SteamCommunity.prototype.getWebApiKey = function(domain, callback) { if(body.match(/

Access Denied<\/h2>/)) { return callback(new Error("Access Denied")); } + + if(body.match(/You must have a validated email address to create a Steam Web API key./)) { + return callback(new Error("You must have a validated email address to create a Steam Web API key.")); + } var match = body.match(/

Key: ([0-9A-F]+)<\/p>/); if(match) {