Closed TheAdrianPOP closed 1 year ago
Have the same error
the line that reports error : account_request = authenticate_with_minecraft(userhash, xsts_token) the returned value is : account_request: {'path': '/authentication/login_with_xbox', 'error': 'FORBIDDEN'}
I dont know what to do with the returned value, I cant find any solution on the internet. can anyone helps?
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
C:\Users\ASUS>python C:\Users\ASUS\Voyager\AI_Minecraft.py Creating Minecraft server Please open https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize?client_id=ab3074f2-1ea7-425a-8ace-96b0fe4ebf0d&response_type=code&redirect_uri=https%3A%2F%2F127.0.0.1%2Fauth-response&response_mode=query&scope=XboxLive.signin+offline_access&state=ABCxLmKy-FJZFdd7JDJ3Rg&code_challenge=Bvlys465ZivXQKua5QrxZqtOhFHvd_f03S0C43BMfhc&code_challenge_method=S256 in your browser and copy the url you are redirected into the prompt below. https://127.0.0.1/auth-response?code=M.C103_BL2.2.32bbc6a8-8e19-9400-db2f-8dd6bcc9282f&state=ABCxLmKy-FJZFdd7JDJ3Rg Traceback (most recent call last): File "C:\Users\ASUS\Voyager\AI_Minecraft.py", line 12, in
voyager = Voyager(
^^^^^^^^
File "C:\Users\ASUS\Voyager\voyager\voyager.py", line 102, in init
self.env = VoyagerEnv(
^^^^^^^^^^^
File "C:\Users\ASUS\Voyager\voyager\env\bridge.py", line 42, in init
self.mc_instance = self.get_mc_instance()
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ASUS\Voyager\voyager\env\bridge.py", line 67, in get_mc_instance
return MinecraftInstance(
^^^^^^^^^^^^^^^^^^
File "C:\Users\ASUS\Voyager\voyager\env\minecraft_launcher.py", line 36, in init
self.mc_command = self.get_mc_command()
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ASUS\Voyager\voyager\env\minecraft_launcher.py", line 89, in get_mc_command
login_data = minecraft_launcher_lib.microsoft_account.complete_login(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ASUS\AppData\Roaming\Python\Python311\site-packages\minecraft_launcher_lib\microsoft_account.py", line 271, in complete_login
access_token = account_request["access_token"]