Back

SvelteKit Tutorial not working while Vue dose

  • 1
  • Web
vinciarts
24 Feb, 2024, 14:54

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.
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