When updating a user, I always get a scope issue.
I do have the project ID, endpoint, and an API key set corretly.
The API key that is provided does have the account scope enabled.
I'm trying to do this on Astro with SSR, with Appwrite 1.5.
10:11:25 [302] POST /settings/update-username 158ms
AppwriteException [Error]: app.65ec47b12128a7859dfe@service.candy.sudovanilla.com (role: applications) missing scope (account)
at Client.call (/home/korbs/Documents/appwrite demos-for-astro main server-side-rendering/node_modules/node-appwrite/lib/client.js:206:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Account.updateName (/home/korbs/Documents/appwrite demos-for-astro main server-side-rendering/node_modules/node-appwrite/lib/services/account.js:502:16) {
code: 401,
type: 'general_unauthorized_scope',
response: {
message: 'app.65ec47b12128a7859dfe@service.candy.sudovanilla.com (role: applications) missing scope (account)',
code: 401,
type: 'general_unauthorized_scope',
version: '1.5.1'
}
}
Astro SSR: (role: applications) missing scope (account)
Recommended threads
- How to send Webhooks to internal network
When saving the URL for sending Webhooks, Appwrite checks if it's a valid external domain name so entering internal IP address or docker hostnames won't save th...
- Collections list not showing up when try...
I'm trying to create new relationship attribute but both one way and two way relationship is not showing up collections list to connect with my relationship att...
- Self hosted project based backup
Is there a native way to perform a project-level backup in a self-hosted instance, instead of backing up the entire Docker instance? If not, I would like to off...