Skip to content
Back

dynamic key missing scopes for database in function

  • 0
  • Databases
  • Functions
  • Cloud
ehatlem
1 May, 2026, 18:42

Here are the scopes listed, I get permission errors for reading row and document. Appears to be missing since last time i checked.

Database 6 Scopes

policies.read Access to read your database backup policies

policies.write Access to create, update and delete your backup policies

archives.read Access to read your database backup archives

archives.write Access to create and delete your backup archives

restorations.read Access to read your backup restorations

restorations.write Access to create backup restorations

TL;DR
Developers are experiencing permission errors for reading rows and documents in the database due to missing dynamic key scopes. The necessary scopes for reading rows and documents are policies.read and archives.read. Check and update the scopes in the function to resolve the issue.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more