geeknux Posted June 14, 2016 Report Posted June 14, 2016 HI, i trying to write a bot manager for trading, i try to get my secrect id and shared code by using this code: var SteamCommunity = require('steamcommunity'); var community = new SteamCommunity(); community.login({ "accountName": "MyAccountName", "password": "MyPassword", "twoFactorCode": "6 char code that i receive from steam guard mobile" }, function (err, sessionId, cookies, steamGuard, token) { if (err) { console.log(err); } else { community.loggedIn(function (err, result) { if (err) { console.log("loggedIn error: ", err); } else { community.enableTwoFactor(function (err, response) { if (err) { console.log("twoFactor Error: ", err); } else { console.log("response", response); community.finalizeTwoFactor(response.shared_secret, test, function(err, result){ if("finalizeTwoFactor Error: ", err) { } else { console.log("finalizeTwoFactor Success: ", result); } }); } }); } }); } }); I enabled my bot account with steam guard mobile, and verify the number, but when i try to start that code i get this error: twoFactor Error: { [Error: Error 29] eresult: 29 } what did i miss here? i try to search in this forum and google but i can't find my answer. Quote
Dr. McKay Posted June 14, 2016 Report Posted June 14, 2016 DuplicateRequest You can't enable 2FA if you already have 2FA enabled. Quote
geeknux Posted June 15, 2016 Author Report Posted June 15, 2016 Thanks, for you're reply, i resolve my problem, i revoke steam guard from my mobile first, then using the sample code for enabling 2fa from steamcommunity github, and that worked for me. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.