Skip to content
Back

Can't access file in UI console, after token expires

  • 0
  • Self Hosted
  • Storage
Sir Ivan
20 Aug, 2025, 22:13

I use self-hosted 1.7.4 version.

After file is uploaded to storage, it can be accessed via UI console. If I will create file token with some expiration date, after this first token will expire, it is not possible to access this file in UI console. I get Invalid Argument. Server Error

It is still possible to access file through functions or CLI: generate more tokens/download it or delete it.

If I will try to list tokens for file through CLI, I will get:

TypeScript
AppwriteException [Error]: Server Error
    at Client.call (/Users/username/.nvm/versions/node/v22.12.0/lib/node_modules/appwrite-cli/lib/client.js:214:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async tokensList (/Users/username/.nvm/versions/node/v22.12.0/lib/node_modules/appwrite-cli/lib/commands/tokens.js:66:16) {
  code: 500,
  response: 'general_unknown'
}
TL;DR
Developers are having issues accessing files in the UI console after the token expires. While generating more tokens or using CLI works, there is still a server error when trying to list tokens for the file.
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