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'
}
}
You cannot get account with an API key
What's your tech stack?
React (Client), Node.JS (Server)
Follow SSR docs: https://appwrite.io/docs/products/auth/server-side-rendering
Ah okay, thanks! :peepoheart:
Recommended threads
- Getting current user has been blocked
Getting current user has been blocked error while signing in the appwrite console. Got this during I am testing with the my saas web project. Please help to unb...
- vorafy.studio domain already exists erro...
My domain vorafy.studio is stuck/locked from a previously deleted project. I created a new project but can't add the domain — getting 'already exists' error. Pl...
- Custom domain for Google Auth
Hello! I connected my custom domain to my Appwrite project, but I can't get the Google login/consent screen to show my domain instead of the Appwrite domain. I...