
So this is a weird one, I'm no longer able to upload files to Appwrite. I'm using the latest versions of both self-hosted and the SDK but I'm getting this error appear in the Appwrite logs
[2024-07-31 15:09:10 *41.26] NOTICE Context::parse_multipart_data() (ERRNO 9010): parse multipart body failed, reason: first boundary mismatching: expecting '3' at 23, but it is '2'
[Error] Timestamp: 2024-07-31T15:09:10+00:00
[Error] Method: POST
[Error] URL: /v1/storage/buckets/:bucketId/files
[Error] Type: Utopia\Exception
[Error] Message: Param "fileId" is not optional.
[Error] File: /usr/src/code/vendor/utopia-php/framework/src/App.php
[Error] Line: 615
What's weird is that is was working fine until earlier today, I haven't changed anything, upgraded anything or restarted anything. I know for a fact that I am passing fileId into the SDK as I have a wrapper that defaults to using ID.unique()
:
const upload = await storage.createFile(
Base.storage.bucket,
ID.unique(),
image,
);
Recommended threads
- Clarification on Fixing a Frontend Bug R...
Hey everyone! My group and I are working on this issue (#8976) as part of an open-source project, and we came across a frontend bug. However, the issue was orig...
- Git Installation Failed(Self hosted)
After adding the git details of the git app , when we clicked on Install & Authorize the returning back to the site give this error Error 500 Server Error ...
- How to regen appwrite nginx config
So hypothetically if someone accidentally deleted the nginx config for the selfhosted is there a way to regen it? 😭
