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
- Cant get realtime working
Hey I nned some help with realtime a gain. I was using client.subscribe(...), and i found out that its depricated then i believe realtime.subscribe(...) is the ...
- Firebase app import
I'm **very** new to appwrite and I just set up appwrite with docker and I'm trying to import a Firebase app I have set up but it's erroring and I don't really k...
- Hi Folks, Database Writing Issue
Hey Folks im trying to get logging setup on my website but im getting an error, i dont have any document id and i think this is the issue but i havent got the f...