Skip to content
Back

401 missing scopes

  • 0
  • Auth
  • Web
Kesara
10 Sep, 2025, 13:11

help me i implemented sign up and login and it works well. but after i impement verifcation i got AppwriteException: app.xxxxxxxxxxxxxxxxx@service.fra.cloud.appwrite.io (role: applications) missing scopes (["account"]) at _Client.call (file:///xxxxx/xxxxx/xxxxxxx/node_modules/node-appwrite/dist/client.mjs:294:13) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) { code: 401, type: 'general_unauthorized_scope', response: '{"message":"app.xxxxxxxxxxxxxxx@service.fra.cloud.appwrite.io (role: applications) missing scopes ([\\"account\\"])","code":401,"type":"general_unauthorized_scope","version":"1.8.0"}' }

error can anyone help me im suing sveltekit ssr auth

TL;DR
Developers implemented sign up and login successfully but encountered a 401 error after implementing verification, specifically "missing scopes (["account"])." Solution: Ensure that the necessary scopes, in this case "account," are included in the authentication process to resolve the authorization issue.
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