
I followed the steps of the tutorials one by one. The Vue works. But SvelteKit shows this:
TypeScript
AppwriteException: The current user is not authorized to perform the requested action.
at Client.<anonymous> (file:///Users/v/Local%20Projects/aw%20playgournd/node_modules/.pnpm/appwrite@13.0.2/node_modules/appwrite/dist/esm/sdk.js:391:27)
at Generator.next (<anonymous>)
at fulfilled (file:///Users/v/Local%20Projects/aw%20playgournd/node_modules/.pnpm/appwrite@13.0.2/node_modules/appwrite/dist/esm/sdk.js:22:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 401,
type: 'user_unauthorized',
response: {
message: 'The current user is not authorized to perform the requested action.',
code: 401,
type: 'user_unauthorized',
version: '0.12.96'
}
}
Forgive me if this issue is stupid 🥲
TL;DR
The SvelteKit tutorial is throwing an error: "The current user is not authorized to perform the requested action." This issue is likely related to user permissions. Make sure the user has the necessary permissions to access the requested action.Recommended threads
- Sharing cookies
Hi, I’m using Appwrite Cloud, and I have a setup where my Appwrite backend is hosted on a subdomain (e.g., api.example.com), while my frontend (Next.js app) and...
- Organization not exists anymore
Hello! We have a problem with a cloud database. We are on the Free plan, but after a refresh the site wants me to create a new organisation, and I not see the c...
- JSON and Object Support in Collection do...
I am working with Next.Js and Appwrite Cloud, I am relatively New to Appwrite but i have noticed there is no direct support of JSON and Object support in attrib...
