Skip to content
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

getting a 403 and not knowing why #525

Open
strich3 opened this issue Jan 7, 2024 · 1 comment
Open

getting a 403 and not knowing why #525

strich3 opened this issue Jan 7, 2024 · 1 comment

Comments

@strich3
Copy link

strich3 commented Jan 7, 2024

To report this error, please provide:

java.io.IOException: Did not get expected response code, got 403 for https://api.minecraftservices.com/authentication/login_with_xbox
at com.skcraft.launcher.util.HttpRequest.expectResponseCode(HttpRequest.java:211)
at com.skcraft.launcher.auth.microsoft.MinecraftServicesAuthorizer.authorizeWithMinecraft(MinecraftServicesAuthorizer.java:24)
at com.skcraft.launcher.auth.MicrosoftLoginService.performLogin(MicrosoftLoginService.java:99)
at com.skcraft.launcher.auth.MicrosoftLoginService.login(MicrosoftLoginService.java:58)
at com.skcraft.launcher.dialog.AccountSelectDialog.lambda$attemptMicrosoftLogin$7(AccountSelectDialog.java:153)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)

@D3nnis3n
Copy link

Similar here when trying to login with MS account:

java.lang.IllegalArgumentException: No input stream available
at com.skcraft.launcher.util.HttpRequest.returnContent(HttpRequest.java:308)
at com.skcraft.launcher.auth.microsoft.XboxTokenAuthorizer.lambda$authorizeWithXbox$1(XboxTokenAuthorizer.java:41)
at com.skcraft.launcher.util.HttpRequest.expectResponseCodeOr(HttpRequest.java:230)
at com.skcraft.launcher.auth.microsoft.XboxTokenAuthorizer.authorizeWithXbox(XboxTokenAuthorizer.java:40)
at com.skcraft.launcher.auth.MicrosoftLoginService.performLogin(MicrosoftLoginService.java:98)
at com.skcraft.launcher.auth.MicrosoftLoginService.login(MicrosoftLoginService.java:58)
at com.skcraft.launcher.dialog.AccountSelectDialog.lambda$attemptMicrosoftLogin$7(AccountSelectDialog.java:153)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:842)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants