
I/flutter (16021): {message: The current user is not authorized to perform the requested action., code: 401, type: user_unauthorized, version: 0.11.5}
I made sure user is logged in and all users can read database collection

final databaseChecker = await appwriteData.databases.listDocuments(
databaseId: 'users_database',
collectionId: 'student_info',
queries: [Query.equal('mat_num', studentMatNum.toString())]);
``|`

did you add any access permission in your collection?

yes

can you send screenshot of that ?


also please check your Database & Collection ids carefully

Id wasn't required

What happens if you grant read access to Any?

The error occured during the downtime appwrite cloud experienced @Steven

So is it all good now?

yes but server response is pretty slow @Steven

[CLOSED] Unauthorized Error
Recommended threads
- [SOLVED] Access ExecutionStatus of a fun...
I am calling a cloud function from the newest Flutter SDK 20.2.1with the `xasync: false` flag and get the result, but the `execution.status` is not a String and...
- Data sending problem having
<#564161373148414012> ๐โsupport <#564161373148414012> have few problems in my project running on appwrite . Data is not sending to database .is any update or...
- Retreive collection from archived projec...
Hey there, so I archivef a project on 1st September 2025 and now I need the data from one of its collections. Any way I can retrieve it?
