Back

Missing required attribute "bucketInternalId"

  • 0
  • Self Hosted
  • Storage
D5
4 Apr, 2024, 22:30

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
4 Apr, 2024, 22:53

Via console or programatically?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more