siddharthhhOriginal post
Rank 1: Thread
Hey I am trying to implement authentication in my react app. When I am logged in everythings work as expected, but when I logout I get this error
User (role: guests) missing scope (account)
AppwriteException: User (role: guests) missing scope (account)
I have checked the page I am trying to render can be accessed by guest user.
I am attaching the image of error as well
Summary
The user is experiencing an error when logging out of their React app. The error message states "User (role: guests) missing scope (account)". The user has confirmed that the page they are trying to access can be accessed by guest users.
Potential solution: The user is making an account API call without a session and is not catching the exception. They should ensure that they have a valid session before making the API call, and catch any exceptions that may occur.