Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting BadSMSCode when trying to add mobile authenticator even though code is correct #32

Closed
xagotrunk opened this issue Jan 25, 2016 · 4 comments

Comments

@xagotrunk
Copy link

I've been getting this error every time I try to input the SMS sent to my phone. I've tried different phone numbers and different accounts but I still get this error every time. Did valve change something with adding authenticators?

@BlueRaja
Copy link

I am getting the same issue.

Logged the request using Fiddler:

Request

POST https://api.steampowered.com/ITwoFactorService/FinalizeAddAuthenticator/v0001 HTTP/1.1
Accept: text/javascript, text/html, application/xml, text/xml, */*
User-Agent: Mozilla/5.0 (Linux; U; Android 4.1.1; en-us; Google Nexus 4 - 4.1.1 - API 16 - 768x1280 Build/JRO03S) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30
Referer: https://steamcommunity.com/mobilelogin?oauth_client_id=DE45CD61&oauth_scope=read_profile%20write_profile%20read_client%20write_client
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Host: api.steampowered.com
Content-Length: 143
Accept-Encoding: gzip, deflate

steamid=76561198116339914&access_token=abcd123etc&activation_code=78214&authenticator_code=&authenticator_time=1453702668

Response

HTTP/1.1 200 OK
X-eresult: 1
Content-Type: application/json; charset=UTF-8
Content-Length: 87
Expires: Mon, 25 Jan 2016 06:17:49 GMT
Date: Mon, 25 Jan 2016 06:17:49 GMT
Connection: keep-alive

{
    "response": {
        "success": false,
        "server_time": "1453702669",
        "status": 89
    }
}

I tried multiple times, I'm certain the SMS code is correct.

Is authenticator_code supposed to be blank? WinAuth appears to always add it. [Edit] I tried editing it to always add the authenticator_code, but still run into the same issue. Hrm.

@BlueRaja
Copy link

I also tried SteamDesktopAuthenticator, but the same thing happens (which results in an endless loop of it asking for my SMS code + my revocation code).

It appears that SteamAuth currently does not work :\

@BlueRaja
Copy link

I found a workaround. It seems the issue is with linking a phone number. If I add a phone number manually beforehand, SteamAuth works correctly.

@Apostol77794
Copy link

I have exactly the same error
Bot.cs
line 833: var smsCode = WaitForInput(); -->Valid code
line 834: var authResult = authLinker.FinalizeAddAuthenticator(smsCode); -->BadSMSCode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants