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
- Appwrite SSL Certificate Failure
Hello, I need help releasing a stuck domain. My Domain: adilnaib.engineer My Project ID: 68fe0aee001e999b5d71 Error: Failed to add domain to Fastly: {"msg":"B...
- [BUG] I'm facing an issue while creating...
Here’s what’s happening: When I try to create a new Web app on my Appwrite console (backend.keplr.in), the browser console shows multiple errors: Uncaught (in...
- Sites: Old deployment gets requests even...
Hi team, I use Sites to host a Next.js web app and it serves from old deployment for many hours. Is this expected? I thought it would serve from new deployment ...