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.