D5
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. Evdog
Via console or programatically?
Recommended threads
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...