[SOLVED] Appwrite Function getting general_unauthorized_scope (databases.read) while creating db
- 0
- Resolved
- 2
- Functions
- Cloud
Hi everyone,
I'm trying to create a database schema using an Appwrite Function written in Dart from Appwrite console, but I'm getting an authorization error when the function runs.
Dart version: 3.5.1
dart_appwrite: 13.0.0```
```Error:
request.path :: /create_database_schema
Native logs detected. Use context.log() or context.error() for better experience.
Error while checking or creating database: AppwriteException: general_unauthorized_scope, User (role: guests) missing scopes (["databases.read"]) (401)```
Is there anyway I can assign permission to Database as we are assigning to tables?
[SOLVED] Appwrite Function getting general_unauthorized_scope (databases.read) while creating db
Your function runs as a guest because Appwrite client inside it has no api key
Yes I figured it out, thank you for your response.
Recommended threads
- Android SDK: Kotlin null Value Not Updat...
Hi team, I think you should check the Android SDK implementation once, as it seems to have an issue handling Kotlin **null** values. For example: When I send:...
- Can't connect GitHub β 500 error at the ...
Appwrite Cloud, Pro plan, SFO region. All my Git connections vanished today β Sites and all 15 Functions now show no repository connected. When I try to add a ...
- GB Hours IS NOT resetting
Hi, I was checking my usage and noticed that all of my usage quotas were reset on August 20, 2026, when my billing cycle renewed. Everything else appears to ha...