Back

User is not authorized to read collection

  • 0
  • Auth
  • Web
Sir Laban
21 Jan, 2025, 21:33

When i tried to make a read call to my db it always returns that my user is not authorized to perform such action am i doing something wrong?

TL;DR
Developer is getting "User is not authorized to read collection" error when trying to make a read call to the database. Other developers ask for the output from ′user.get()′ to check the object of the logged user. Solution: Check the user's permissions and ensure they have the necessary access rights to read the collection.
Sir Laban
21 Jan, 2025, 21:38
Guille
21 Jan, 2025, 21:39

Can you show us the output from ′user.get()′ ? to check object of the logged user

Sir Laban
21 Jan, 2025, 21:43
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