Back

Unable to fetch documents in a collection while having read permission

  • 0
  • Databases
  • Flutter
  • Cloud
opbaba_
1 Dec, 2024, 20:01

I have document security enabled and given the user read permissions. I have verified the user ID as well. Calling the list Document function throws a 401 error mentioning the current user is not authorized

TL;DR
Developers facing issue while trying to fetch documents in a collection with read permission. Error code 401 keeps popping up even after enabling document security and checking the user ID. Possible solution could involve verifying the authentication method and revisiting the read permissions settings.
Note
1 Dec, 2024, 20:31
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