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
- Problem with Google Workspace at DNS Rec...
Hello, I bought a domain at Namecheap, and Google Workspace used to work there, but now that I switched from Custom DNS to Appwrite's nameservers, it doesn't w...
- change role of a team member in Appwrite
It's not possible to add/change roles of a team meber in Appwrite Frontend. When you click on a member of a team you get forwarded to the configuration page of ...
- Session not found. Please run appwrite l...
I have encounter an issue with appwrite CLI They asking for a login session but in the doc, it’s mention that only setup client with endpoint / api key is enou...