Back

Not able to update user info and preferences as a user.

  • 0
  • Self Hosted
  • Web
Korbs
16 Jul, 2024, 06:28

While adding preferences to the account settings, I'm getting the following error:

TypeScript
AppwriteException [Error]: User (role: guests) missing scope (account)

This shows that Appwrite is not able to see anyone currently signed in, so I believe I've forgotten to include something that would get around this. Using something like account.get() did not work during my research.

Source Code: https://codeberg.org/MinPluto/Account-System-Demo

TL;DR
Unable to update user info and preferences due to an error showing missing scope 'account' for the signed-in user with role 'guests'. The issue is likely caused by missing permissions or scope. The developer attempted using `account.get()` without success. Review the permissions setup and consider adjusting them to resolve the error.
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