
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
- ❗[Help] Function stuck in "waiting" stat...
Hi Appwrite team 👋 I'm trying to contribute to Appwrite and followed the official setup instructions from the CONTRIBUTING.md guide to run the platform locall...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
- Database Double Requesting Error.
I am getting error for creating new document in an collection with new ID.unique() then too getting error of existing document. When button is pressed one docum...
