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
- Bug: TOTP MFA verification always fails ...
*Bug: TOTP MFA verify always returns `user_invalid_token` (Cloud 1.8.1, Frankfurt)** Project ID: `68dd48440003e537d849` SDK: `appwrite@18.2.0` (also tested wit...
- User Filter/Sorting/Analytics
Currently the dashboard for users is very limited. I would like to have an option to sort by column and also to filter by column, to for example find users that...
- Unable to verify user through console du...
Hi, I am manually trying to verify a user through the console, but it is coming back with Server Error and not much detail