xbox-webapi-python icon indicating copy to clipboard operation
xbox-webapi-python copied to clipboard

Need help for Error 400 Bad Request

Open Seexelas opened this issue 9 months ago • 0 comments

Hi,

If someone could explain to me what is needed to be modified to get it working, I can't get my tokens.json.

Many thanks,

      "I just found out what's wrong. For some reason, it's grabbing the wrong client ID, I defined it before requesting to refresh the token. auth_mgr._client_id = "CLIENT ID HERE" then execute the refresh_tokens() function. Not sure what causes this, but I guess be sure to overwrite whatever the client ID it has gotten. This worked in my case, if you can figure out what causes this post, or if I find anything else out I'll post here.

Originally posted by @Sat727 in https://github.com/OpenXbox/xbox-webapi-python/issues/96#issuecomment-2091231423"

Seexelas avatar May 21 '24 08:05 Seexelas