I'm getting this error on my self-hosted instance while updating a doc. Extended error:
TypeScript
appwrite | [Error] Line: 3193
appwrite | [Error] Timestamp: 2024-04-04T22:25:41+00:00
appwrite | [Error] Method: PUT
appwrite | [Error] URL: /v1/storage/buckets/:bucketId/files/:fileId
appwrite | [Error] Type: Utopia\Database\Exception\Structure
appwrite | [Error] Message: Invalid document structure: Missing required attribute "bucketInternalId"
appwrite | [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
appwrite | [Error] Line: 3193
Only happens with old files. New files doesn't seems to be affected and they can be updated without any issues
TL;DR
Error: Missing "bucketInternalId" attribute while updating a document in self-hosted instance. Only occurs with old files, new files are fine.
Solution: Ensure the "bucketInternalId" attribute is present when updating old files.Via console or programatically?
Recommended threads
- Clean install of 1.9.0 shows errors in a...
I just run a full clean install of Appwrite on my server following the Manual installation guide in the docs page. The console seems to work, visually there d...
- Setup custom domain on selfhosted behind...
Hello everyone, can anyone help me to setup a custom domain on a selfhosted appwrite instance thats running behind cloudflare tunnels? Current setup: Appwrite r...
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...