D5Original post
Moderator
I'm getting this error on my self-hosted instance while updating a doc.
Extended error:
Plain text
appwrite | [Error] Line: 3193appwrite | [Error] Timestamp: 2024-04-04T22:25:41+00:00appwrite | [Error] Method: PUTappwrite | [Error] URL: /v1/storage/buckets/:bucketId/files/:fileIdappwrite | [Error] Type: Utopia\Database\Exception\Structureappwrite | [Error] Message: Invalid document structure: Missing required attribute "bucketInternalId"appwrite | [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.phpappwrite | [Error] Line: 3193Only happens with old files. New files doesn't seems to be affected and they can be updated without any issues
Summary
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.