[v1.8.1] Getting error "(role: applications) missing scopes (["documents.write"])"
- 0
- Self Hosted
- Functions
... but that scope doesn't exist.
I am trying to get a function to run and modify tables in the database dynamically. I set everything up and eventually got:
(role: applications) missing scopes (["documents.write"])
The thing is, that API key scope "documents" does not exist. Look at the web admin page for it (see attachment). I am assuming "applications" is the role for API stuff via functions.
What the heck is going on here?
please @ me
Recommended threads
- Scheduled function silently stopped firi...
Function is scheduled `* * * * *` and is `enabled: true`, but Appwrite Cloud has stopped queueing executions. Last execution: **2026-05-30 00:47 UTC** (~46h...
- TOO_MANY_REDIRECTS after temporarily ena...
I am losing my mind over this, I enabled this setting because I was having issues with sites not making links with https. I enabled it, ran into issues, so I di...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...