MineDojo / Voyager

An Open-Ended Embodied Agent with Large Language Models
https://voyager.minedojo.org/
MIT License
5.4k stars 493 forks source link

Error in the line: access_token = account_request["access_token"]. Error is: KeyError: 'access_token' #57

Closed qyxqyx closed 1 year ago

qyxqyx commented 1 year ago

I follow the installation tutorial to deploy Voyager on my computer, but meet an error in the line: access_token = account_request["access_token"].

The error is: KeyError: 'access_token'.

I print the dict account_request, and the contents are: {'path': '/authentication/login_with_xbox', 'error':'FORBIDDEN'}, which does not contain the key 'access_token'.

Can someone help my to solve this issue? Thanks.

ItsBean commented 1 year ago

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'}

xieleo5 commented 1 year ago

Hi, if you really cannot do Azure login, please use mc_port. You will just need to manually resume if the process crashes.

steppelord commented 1 year ago

I get the same error @ItsBean

is your account a third party Microsoft account? (E.g. gmail)

I wonder if that could be the reason?

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.