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
- 1.9.5 Migration problem
1.9.5 migration problem after run migration command only openruntimes-executor
- Appwrite Sites deployment fails because ...
Appwrite Cloud Sites deployments are failing consistently for both GitHub and manual deployments. The build command completes successfully and packaging also c...
- Build succeeds but deployment fails — si...
My Next.js 15.5.20 site (standalone output mode) builds successfully on Appwrite Sites, but the deployment fails at the final packaging step with: [sidecar:bui...