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
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...
- Next.js SSR Site Times Out on First Visi...
Hey everyone, I'm running a Next.js SSR site on a self-hosted Appwrite server (v1.9.0), and I've noticed a strange behavior that I'm hoping someone can help me...
- Appwrite migration stuck on pending
Migration an existing self hosted 1.9.0 to a new VPS tuning self hosted 1.9.0.. import data recognises the api url, project id and api and then when I create, i...