I keep getting a 401 error when reloading my a page on my development server. Not sure why this is happening since I've been logged into the server and there are no issues with any actions on my server that require authorization.
full stack trace is AppwriteException: The current user is not authorized to perform the requested action.
at Client.<anonymous> (file:///home/aok/trello-clone/node_modules/.pnpm/[email protected]/node_modules/appwrite/dist/esm/sdk.js:391:27)
at Generator.next (<anonymous>)
at fulfilled (file:///home/aok/trello-clone/node_modules/.pnpm/[email protected]/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.54'
}
}
Recommended threads
- Appwrite nonsense CORS error
i get this image when i access the link that prompts the cors error
- I also unable to login in
Is the appwrite server down? <@462046107556511744>
- Issue calling functions from vercel
I have created a express API function. I was facing issue calling the function directly via its apprwrite URL on local env so I tried adding a proxy this worked...