MasterOriginal post
Web Developer
Currently I am working with Appwrite to develop a web project on localhost server. But after login, I cleared my browser cookies and suddenly my account.get() function stopped working and throwing this error:
Unhandled Runtime Error
AppwriteException: User (role: guests) missing scope (account)
Call Stack
Client.eval
node_modules\appwrite\dist\esm\sdk.js (428:1)
Generator.next
fulfilled
node_modules\appwrite\dist\esm\sdk.js (22:43)
Summary
Developers encountering an 'AppwriteException' error message 'User (role: guests) missing scope (account)' after clearing browser cookies. Issue occurs because the user is logged out due to cookie deletion. To resolve, developers need to check user authentication status in their code and handle scenarios where users are not logged in properly.