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
- Login / Signup issue
So I have been trying to create an account on appwrite but no matter what I try it doesn't work. I tried using GitHub at first but after logging in it just red...
- [SOLVED] Appwrite Cloud and FRA cloud se...
Can anyone estimate how long this will take to resolve? I am checking status here https://status.appwrite.online/
- MFA TOTP State Inconsistency After Disab...
MFA TOTP State Inconsistency After Disable/Re-enable Flow — Invalid Token During Verification Environment: - Next.js - node-appwrite - Session-based authentica...