Back

AppwriteException: User (role: guests) missing scope (account) at _Client.<anonymous>

  • 0
  • Auth
  • Web
Theo
9 Oct, 2024, 15:55

Please how do I overcome this issue please... I'm on a Tutorial and I keep encountering this issues... Please help

TL;DR
Developers encountering User (role: guests) missing scope (account) and User not authorized errors while trying to access certain resources. Is there a way to resolve this?
Theo
9 Oct, 2024, 15:58

cloud.appwrite.io/v1/account:1

TypeScript
   Failed to load resource: the server responded with a status of 401 ()

api.ts:76 AppwriteException: User (role: guests) missing scope (account) at _Client.<anonymous> (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=f41d7146:466:15) at Generator.next (<anonymous>) at fulfilled (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=f41d7146:13:24) cloud.appwrite.io/v1/databases/669dc5e50027d3dbec4c/collections/669dc6d0001e64d0616a/documents:1

TypeScript
   Failed to load resource: the server responded with a status of 401 ()

api.ts:48 AppwriteException: The current user is not authorized to perform the requested action. at _Client.<anonymous> (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=f41d7146:466:15) at Generator.next (<anonymous>) at fulfilled (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=f41d7146:13:24)

This is 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