Back

User (role: guests) missing scope (account)

  • 0
  • Users
  • Accounts
  • Web
siddharthhh
28 May, 2023, 16:01

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

TL;DR
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.
Drake
28 May, 2023, 17:01

You're making some account API call without a session and you're not catching the exception

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