Skip to content
Back

Auth Issue (maybe?)

  • 0
  • React Native
  • Auth
fkountras
19 Dec, 2025, 13:56

Hi there, I'm relatively new to programming and am following a tutorial on youtube just to get an idea of how this all is suppossed to work. Now Im setting up the back end and I keep getting this error "User (role: guests) missing scopes (["account"])" when I try to login or logout. As far as I can tell the issue comes from account.get() and account.deleteSession("current"). Tried to solve it by googling and asking AI, and Ive figured out a workaround for the login and account.get() but the logout still doesnt work. Can anyone help me resolve this?

TL;DR
New developer encountering "User (role: guests) missing scopes (["account"])" error, struggling with logout function after workaround for login and account.get(). Need assistance to resolve the issue.
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