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

Unable to login #3195

Closed
1 task done
gkursi opened this issue Sep 11, 2023 · 1 comment
Closed
1 task done

Unable to login #3195

gkursi opened this issue Sep 11, 2023 · 1 comment
Labels
possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f

Comments

@gkursi
Copy link

gkursi commented Sep 11, 2023

  • The FAQ doesn't contain a resolution to my issue

Versions

  • mineflayer: 4.14.0
  • node: 18.17.0

Detailed description of a problem

I am unable to login, it was working before, not anymore."
I can still login and play the game normally trough the launcher (with the same account).

What did you try yet?

I tried updating the package (#1520)
I tried logging in trough the launcher (it worked)

Your current code

const bot = mineflayer.createBot({
        host: argv["s"], // minecraft server ip
        username: argv["n"], // username or email, switch if you want to change accounts
        auth: 'microsoft', // for offline mode servers, you can set this to 'offline'
        // port: 25565,                // only set if you need a port that isn't 25565
        // version: false,             // only set if you need a specific version or snapshot (ie: "1.8.9" or "1.16.5"), otherwise it's set automatically
        // password: '12345678'        // set if you want to use password-based auth (may be unreliable). If specified, the `username` must be an email
    })
    bindEvents(bot);
/*
Some code here, replace this
*/

Expected behaviour

Logging in to the given server with the given account

Additional context

The error:

Error: Failed to obtain profile data for #########@gmail.com, does the account own minecraft?
    at Object.authenticate (C:\Users\#####\Documents\mineflayer_bot\node_modules\minecraft-protocol\src\client\microsoftAuth.js:31:40)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

@gkursi gkursi added possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f labels Sep 11, 2023
@gkursi
Copy link
Author

gkursi commented Oct 25, 2023

works now, microsoft issue ig

@gkursi gkursi closed this as completed Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Projects
None yet
Development

No branches or pull requests

1 participant