
If I set a token on a storage file using the appwrite function (createFileToken), I can no longer see the file in detail in the appwrite console. I get the error: Invalid Argument Server Error.
Docker Logs:
[Error] Timestamp: 2025-09-27T14:04:42+00:00
[Error] Method: GET
[Error] URL: /v1/tokens/buckets/:bucketId/files/:fileId
[Error] Type: Ahc\Jwt\JWTException
[Error] Message: Invalid maxAge: Should be greater than 0
[Error] File: /usr/src/code/vendor/adhocore/jwt/src/ValidatesJWT.php
[Error] Line: 42
[Error] Timestamp: 2025-09-27T14:04:42+00:00
[Error] Method: GET
[Error] URL: /v1/tokens/buckets/:bucketId/files/:fileId
[Error] Type: Ahc\Jwt\JWTException
[Error] Message: Invalid maxAge: Should be greater than 0
[Error] File: /usr/src/code/vendor/adhocore/jwt/src/ValidatesJWT.php
[Error] Line: 42
Browser Console:
GET https://appwrite.vezept.de/v1/tokens/buckets/68d4e29500081045f8bb/files/68d7ed2b000211cfe158 500 (Internal Server Error)
POST https://plausible.io/api/event net::ERR_BLOCKED_BY_CLIENT
However, everything works fine within my Angular app. I just became this warning in docker logs:
[2025-09-27 14:13:59 *55.38] WARNING Context::build_header() (ERRNO 7105): You have set 'Transfer-Encoding', 'Content-Length' will be ignored
Recommended threads
- Some files are not opening
Some PDFs are not visible because their status is showing as pending, even though these files were visible earlier.
- How can I upgrade to RC manually
Hello! I am self-hosting an Appwrite instance and ran into this issue https://github.com/appwrite/appwrite/issues/9906 I saw that the bug has already been fixe...
- Email Templates show duplicated values a...
I am using self-host Appwrite v1.7.4 and I am having issues updating my Email Templates. For some weird reason, all the templates have the same values in the su...
