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.