While adding preferences to the account settings, I'm getting the following error:
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.