zeroCat Posted September 26, 2020 Report Posted September 26, 2020 Hello, I am getting a UnhandledPromiseRejectionWarning: Error: AccountNotFound when trying to Authorize the local SentryFile to get a deviceToken. My code is currently as barebones as it could be. const SteamUser = require("steam-user"); var c = new SteamUser(); c.logOn({ "accountName": "...", "password": "..." }) c.on("loggedOn", (det)=>{ c.setPersona(SteamUser.EPersonaState.Online); c.authorizeLocalSharingDevice("Test-PC").then(res=>{ console.log("token: "+res.deviceToken) }) }) The Online Status successfully updates, however i get a promise Failiure on the authorizeLocalSharingDevice. What am i doing wrong? ~ ty Quote
Dr. McKay Posted September 26, 2020 Report Posted September 26, 2020 Do you have Steam Guard enabled? If you do, then I really don't know what the issue could be. Family Sharing support is experimental and I've not done too much testing with it. zeroCat 1 Quote
zeroCat Posted September 26, 2020 Author Report Posted September 26, 2020 Ah, i was not aware that steam guard must be enabled to activate Family Sharing. I enabled Email Guard, and it works fine now. I did not think about this because the AccountNotFound code was throwing me off. Thanks for the Answer! ~solved Dr. McKay 1 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.