Sir IvanOriginal post
Web Developer
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:
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'
}
Summary
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.