Skip to content

"Does the account own Minecraft" error #3752

@DereC4

Description

@DereC4
  • [Yes] The FAQ doesn't contain a resolution to my issue

Versions

  • mineflayer: 4.33.0

Detailed description of a problem

I have a premium Minecraft account and can log into most servers, but when connecting to some servers, Mineflayer throws the following error:

Error: Failed to obtain profile data for [EMAIL], does the account own minecraft? at Object.authenticate (/Users/derex/Documents/GitHub/Minecraft-AFK-Bot/node_modules/.pnpm/[email protected]/node_modules/minecraft-protocol/src/client/microsoftAuth.js:31:40) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) Connection failed to 104.243.46.174:25590 - Failed to obtain profile data for [EMAIL]

What did you try yet?

  • Confirmed the account is premium and works on most other servers.
  • Tested with my account on different servers (only happens on some).
  • Looked through FAQ and issues but didn’t find a solution.

Your current code

const mineflayer = require('mineflayer')

const bot = mineflayer.createBot({
  host: '104.243.46.174',
  port: 25590,
  username: '', // my premium account
  auth: 'microsoft'
})

Additional info

See below for a workaround using pm2 library. Featuring CobbleGuard and Server_Protector!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stage1just created by someone new to the project, we don't know yet if it deserves an implementation / a fpossible bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions