Back

Error: (role: applications) missing scope (account)

  • 0
  • Databases
  • Auth
  • Web
Mohammed.
1 Sep, 2024, 14:22

I keep getting that error when I try to get user account from appwrite

TL;DR
Developers are encountering the error "Error: (role: applications) missing scope (account)" when trying to access user account data in Appwrite. This error suggests that the user is not logged in. One developer recommended utilizing SSR (Server-Side Rendering) logic for authentication.
darShan
1 Sep, 2024, 14:23

This error shows up when the user is not logged-in.

Mohammed.
1 Sep, 2024, 14:27

Now I get this Error

Mohammed.
1 Sep, 2024, 14:28

"detail": "Not authenticated"

Mohammed.
1 Sep, 2024, 14:29

How i can authenticate the user after he login with appwrite

Mohammed.
1 Sep, 2024, 14:29

?

darShan
1 Sep, 2024, 14:51

I see you tagged Web, iirc you need to use SSR logic.

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