Skip to content
Back

Unable to login

  • 0
  • Auth
Leon
7 Feb, 2025, 02:45

For some reason, I'm not able to login. I keep getting a 'general_unauthorized_scope' error? Try login error: AppwriteException: app.67a5649d00009b51e0bb@service.cloud.appwrite.io (role: applications) missing scope (account) at _Client.call (/home/container/node_modules/node-appwrite/dist/client.js:282:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Account.get (/home/container/node_modules/node-appwrite/dist/services/account.js:24:12) at async /home/container/server.js:129:16 { code: 401, type: 'general_unauthorized_scope', response: { message: 'app.67a5649d00009b51e0bb@service.cloud.appwrite.io (role: applications) missing scope (account)', code: 401, type: 'general_unauthorized_scope', version: '1.6.1' } }

TL;DR
Developers are experiencing login issues with the error 'general_unauthorized_scope'. The problem seems to be with missing 'account' scope for the API key provided. Possible solution - make sure the API key has the necessary permissions and scopes for account access.
Steven
7 Feb, 2025, 02:45

You cannot get account with an API key

Steven
7 Feb, 2025, 02:46

What's your tech stack?

Leon
7 Feb, 2025, 02:46

React (Client), Node.JS (Server)

Steven
7 Feb, 2025, 02:47
Leon
7 Feb, 2025, 02:47

Ah okay, thanks! :peepoheart:

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more