-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"mojang.errors.NotFound: HTTP 404. This resource does not exist." On login with bearer token #38
Comments
Hi, I've tried to replicate this issue but it's not happening for me. Is there anything different about the Minecraft account? Can you check if it happens when you use this code? from mojang import Client
client = Client("EMAIL", "PASS")
client2 = Client(bearer_token=client.bearer_token) Also, have you tried enabling debug mode? from mojang import Client
client = Client(bearer_token="BEARER_TOKEN", debug_mode=True) If you can find out the specific endpoint that's returning a HTTP 404, that would help. |
First of all. thanks for your response @summer. I have now switched to using 2 accounts with email:pass and without the token. The account(s) are XBOX life if this makes a difference. |
This error occurs, when you use a brand-new account which has no name set yet. Client instantiation is not possible. Traceback:
(To avoid misunderstanding: It seems to be a bug in the library, not in the code of @MatrixByt3s) |
Hey. I found the answer to why this is. This is when the user has not set a username yet / is a fresh account. I'll maybe open a pull request for it. |
When trying to login with a bearer token, It throws a 404 not found error.
This is my code, i am trying to use 2 accounts:
It should be a valid token. Its 435 characters long and contains a dot.
The text was updated successfully, but these errors were encountered: