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/appwrite@11.0.1/node_modules/appwrite/dist/esm/sdk.js:391:27)
at Generator.next (<anonymous>)
at fulfilled (file:///home/aok/trello-clone/node_modules/.pnpm/appwrite@11.0.1/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
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...
- "Invalid console fingerprint" when unpau...
I've tried logging out and logging back in, still can't figure out why this is happening.
- Inviting members while SMTP is disabled ...
Issue: https://github.com/appwrite/console/issues/3125 PR: https://github.com/appwrite/console/pull/3126