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

Can't change Microsoft account to login #2579

Closed
wonkywonks opened this issue Jan 18, 2022 · 1 comment
Closed

Can't change Microsoft account to login #2579

wonkywonks opened this issue Jan 18, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@wonkywonks
Copy link

Describe the bug

Can't change the microsoft account that i logged in with cause my other account had Minecraft installed.

The log file and images/videos

java.lang.RuntimeException: It seems that this Microsoft Account does not own the game. Make sure that you have bought/migrated to your Microsoft account.

MSA Error: 404: Not Found, error stream:
{
"path" : "/minecraft/profile",
"errorType" : "NOT_FOUND",
"error" : "NOT_FOUND",
"errorMessage" : "The server has not found anything matching the request URI",
"developerMessage" : "The server has not found anything matching the request URI"
}
at net.kdt.pojavlaunch.authenticator.microsoft.Msa.throwResponseError(Msa.java:293)
at net.kdt.pojavlaunch.authenticator.microsoft.Msa.checkMcProfile(Msa.java:256)
at net.kdt.pojavlaunch.authenticator.microsoft.Msa.acquireMinecraftToken(Msa.java:200)
at net.kdt.pojavlaunch.authenticator.microsoft.Msa.acquireXsts(Msa.java:167)
at net.kdt.pojavlaunch.authenticator.microsoft.Msa.acquireXBLToken(Msa.java:122)
at net.kdt.pojavlaunch.authenticator.microsoft.Msa.acquireAccessToken(Msa.java:75)
at net.kdt.pojavlaunch.authenticator.microsoft.Msa.(Msa.java:35)
at net.kdt.pojavlaunch.authenticator.microsoft.MicrosoftAuthTask.doInBackground(MicrosoftAuthTask.java:72)
at net.kdt.pojavlaunch.authenticator.microsoft.MicrosoftAuthTask.doInBackground(MicrosoftAuthTask.java:22)
at android.os.AsyncTask$3.call(AsyncTask.java:394)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)

Steps To Reproduce

1. Add a Microsoft account
2. Add another microsoft account

Expected Behavior

Doesn't let you change accounts

Platform

- Device model: Oneplus A6003
- CPU architecture: aarch64
- Android version: 11
- PojavLauncher version: latest from play store

Anything else?

No response

@wonkywonks wonkywonks added the bug Something isn't working label Jan 18, 2022
gusbunce added a commit to QuestCraftPlusPlus/PojavLauncher that referenced this issue Mar 8, 2022
commit 0b7467e2b4d8803ee8444b8c1f66309d6caa81d2
Author: Gus Bunce <[email protected]>
Date:   Wed Mar 9 09:33:41 2022 +1000

    Temp merge fix

commit a94952fe09bb35619900cf890aa64ae9bcea71e6
Author: Duy Tran Khanh <[email protected]>
Date:   Sat Mar 5 11:40:07 2022 +0700

    wrong ptr again

commit 6e0f5457551e7b345071672fe41cc4ddf4533b5d
Author: khanhduytran0 <[email protected]>
Date:   Sat Mar 5 08:00:34 2022 +0700

    Fix wrong JNIEnv passed in nativeSetWindowAttrib

commit 9591c2ffaaed747e2f50d0b72e6ab0c111ee05d9
Author: Duy Tran Khanh <[email protected]>
Date:   Fri Mar 4 09:20:02 2022 +0700

    Don’t change inheritsFrom while parsing

commit 33f40f6e8a3b17376d29f44a7c0bee8920713171
Author: khanhduytran0 <[email protected]>
Date:   Fri Mar 4 08:21:05 2022 +0700

    Update GLFW window state (hover, visibility)
    This fixes DynamicFPS mod being broken

commit a92cbfb634fecd445de014757e79fd7b51a0184a
Author: Duy Tran Khanh <[email protected]>
Date:   Wed Mar 2 20:00:36 2022 +0700

    Use HashMap.getOrDefault()

commit c67351df4699b3b4c5bd7457839a8d01ba14853c
Author: Duy Tran Khanh <[email protected]>
Date:   Wed Mar 2 19:58:03 2022 +0700

    Fix a NPE when windowAttribs.get() = null

    java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null
        at org.lwjgl.glfw.GLFW.glfwGetWindowAttrib(GLFW.java:895)

commit 59ac7ddd246019683452d14fe62eee4d3081c755
Author: Duy Tran Khanh <[email protected]>
Date:   Mon Feb 28 09:54:33 2022 +0700

    Update LWJGL component version

commit bed94aca3fcd9a8abfc2cb7cd448e43c3bdfb861
Author: Duy Tran Khanh <[email protected]>
Date:   Mon Feb 28 09:13:29 2022 +0700

    Update GLFW.java

commit 70f21dde78107779522d8b3daad3e83e771bea21
Author: Duy Tran Khanh <[email protected]>
Date:   Mon Feb 28 09:00:13 2022 +0700

    Fix ArrayIndexOutOfBoundsException when glfwGetKey(0)

commit 6ed339d454682f27028fa00eeb7df606c5ded3ed
Author: github-actions <[email protected]>
Date:   Fri Feb 25 23:19:29 2022 +0000

    CI: Update vgpu

commit dbb71d0560661045df019492dd5b8d3d87c29d9c
Author: Duy Tran Khanh <[email protected]>
Date:   Sat Feb 26 06:16:04 2022 +0700

    Clear Microsoft auth cookies before load the page

    Closes PojavLauncherTeam#2749
    Closes PojavLauncherTeam#2579
    Closes PojavLauncherTeam#2447

commit da441f447e1f8a898420495df520a261b718f095
Author: Duy Tran Khanh <[email protected]>
Date:   Tue Feb 15 17:32:28 2022 +0700

    Update MinecraftDownloaderTask.java

commit 3968f20669cc66242371a3c7d16ecdb8e3dd0a56
Author: Duy Tran Khanh <[email protected]>
Date:   Tue Feb 15 17:28:08 2022 +0700

    Validate assets even if it’s fully downloaded (PojavLauncherTeam#2730)

commit 955ff9517771f8aca98ed03ed885a6867784c748
Author: Duy Tran Khanh <[email protected]>
Date:   Thu Feb 10 11:00:57 2022 +0700

    Bug fix: Arc DNS injector breaks on Java 17

    Error:
    Failed to inject cache!
    java.lang.reflect.InaccessibleObjectException: Unable to make java.net.InetAddress$CachedAddresses(java.lang.String,java.net.InetAddress[],long) accessible: module java.base does not "opens java.net" to unnamed module @4157f54e

commit e09b0f0cb9c3883b08701f94c7b84394fe0984e0
Author: artDev <[email protected]>
Date:   Fri Feb 4 19:51:31 2022 +0300

    add Arc capes DNS injector

commit 8f53fa5abf28c28eaf54f105612021df2b23a31e
Author: artDev <[email protected]>
Date:   Fri Feb 4 17:18:42 2022 +0300

    - Prepend java as argv[0]
    - Fix override mechanism

commit 6cad75c6c5913a753999b05451cb1c91c6781a04
Author: Duy Tran Khanh <[email protected]>
Date:   Sun Jan 30 17:20:18 2022 +0700

    Allow remove the only runtime left if corrupt or incompatible

commit 17c35d44625577102516afc4972fe1bc3eccd7ab
Author: github-actions <[email protected]>
Date:   Sun Jan 30 09:49:29 2022 +0000

    CI: Update vgpu

commit 08abc93f479cbd3e018130e2b9c2c7d685bb0983
Author: khanhduytran0 <[email protected]>
Date:   Sun Jan 30 16:44:49 2022 +0700

    Changes
    - Java architecture check is now performed in the Runtime Manager dialog.
    - Required Java version is now stated when launching 1.17+ without it installed.
    - [Mod installer] Java version is now checked before displaying the file picker. Java 8 is now automatically selected.
    - [Mod installer] Brought back "Launch with custom arguments", can be accessed by long-pressing the "Install .jar" button.
@JTM360
Copy link

JTM360 commented Mar 26, 2022

I have already owned minecraft, and switched it to microsoft and i still cant login to minecraft and the error pops up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants