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
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error