steampy icon indicating copy to clipboard operation
steampy copied to clipboard

refresh_token error

Open pudjojotaro opened this issue 1 year ago • 2 comments

When I'm trying to log into one of the accounts with this code: 'try: self.steam_client.login(self.username, self.password, self.maFile) print(f"Successfully Logged in {self.username}") self.was_login_executed = True except steampy.exceptions.LoginRequired: print("Wrong credentials.") exit(1) except steampy.exceptions.CaptchaRequired: print("Please solve captcha and try again.") exit(1) except Exception as ex: print(f"Failed to login into account: {str(ex)}") exit(1)

return self.steam_client' I get 'refresh_token' exception. After trying to debug, the function that's obtaining refresh_token returns {"response":{"had_remote_interaction":false}} only for this account, and I get a full response with a refresh token for other accounts. Also, I was able to complete login with this account before using steampy and changed nothing both in code or with the account itself same issue persists with both steampy 1.1.0 and older versions if you have any idea on why this is happening, please let me know, any advice is appreciated

pudjojotaro avatar Oct 30 '23 02:10 pudjojotaro

Familiar code😀. Can you provide more information about issue you have, please.

yesworId avatar Oct 30 '23 11:10 yesworId

Please use github code formatting for greter visiblity of code

bukson avatar Nov 17 '23 09:11 bukson