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
- Status 400 on oauth
Hello, I am getting status 400 on oauth login via google (redirect_uri_mismatch), same with Apple oauth. Is there any issues with oauth authorization currently...
- Request for JWKS Endpoint and OIDC Disco...
Hey Appwrite Team, Do you have plans to support JWKS and a well-known OIDC discovery endpoint? This would let us verify Appwrite JWTs in other services using st...
- Cloud 500 error