
ERROR
User (role: guests) missing scope (account)
AppwriteException: User (role: guests) missing scope (account)
at Client.<anonymous> (http://localhost:3000/static/js/bundle.js:77517:17)
at Generator.next (<anonymous>)
at fulfilled (http://localhost:3000/static/js/bundle.js:77150:24)

I think you are accessing data which is accessible to guests role.

Try to change permissions of the documents you want to access without logged in users

Geetting same error
ERROR
User (role: guests) missing scope (account)
AppwriteException: User (role: guests) missing scope (account)
at Client.<anonymous> (http://localhost:3000/static/js/bundle.js:77517:17)
at Generator.next (<anonymous>)
at fulfilled (http://localhost:3000/static/js/bundle.js:77150:24)

@Hassanmrwt Please help

Post the code please

You're probably calling account.get()
without a valid session. You should see if there are any previous <#1072905050399191082> posts that can help you.
FYI, it's best to wrap code in backticks to format a bit nicer. You can use 1 backtick for inline code (https://www.markdownguide.org/basic-syntax/#code) and 3 backticks for multiline code (https://www.markdownguide.org/extended-syntax/#syntax-highlighting.

AppwriteException: User (role: guests) missing scope (account)

@Rishav Hey! Did u find the solution? I am facing similar problem

Feel free to create a new <#1072905050399191082> post after searching old posts
Recommended threads
- Adding custom domain to Appwrite project
My app is hosted on Vercel on domain todo.velleb.com. On PC, the OAuth logins like GitHub, Discord and Google work and create the account and log in. On mobile ...
- #support
<#1072905050399191082> any help on that?
- Early Validation of Password Reset Token...
Hey there, I'm dealing with an issue with password reset flow and wondering how you handle this. Right now, when someone clicks an expired/already-used reset ...
