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
- One org lost all data out of 13 org's af...
> https://<domain>/v1/storage/buckets?queries%5B0%5D=%7B%22method%22%3A%22limit%22%2C%22values%22%3A%5B6%5D%7D&queries%5B1%5D=%7B%22method%22%3A%22offset%22%2C%...
- database documents relationships
after migrating from 1.7.4 to 1.8, database get document and list documents is getting results but with no relationship values, the relationship attribute will...
- deployment on every remote branch leads ...
Hi there, on my local appwrite instance it rebuilds my site on every deployment i make to github on every branch, even the main branch is set in the site settin...