
Hi, I'm writing an app with Expo, React Native and Appwrite Cloud. My goal is to upload an image to the bucket storage. I have tested the bucket with REST requests and that worked fine. However, I cannot get it to work with the Web SDK. I am using the newest version 13.0.0 but tested it also with older ones.
When I try calling const response = await api.uploadProfileImage(file) it catches this error: {"name":"AppwriteException","code":0,"type":"","response":""}
I tried it using different Files with the new File constructor from JS and also double checked all other params. I cannot make sense of the issue. Auth and DB both work fine in the project.

There's a problem with how react native handles multipart form data.
Use this workaround: https://github.com/appwrite/sdk-for-web/issues/27#issuecomment-1710914979

It worked with that, thanks <:appwriteheart:782571497393750036>

[SOLVED] Uploading File from React Native Client
Recommended threads
- my database attribute stuck in processin...
when i created attributes in collection 3 of those attributes become "processing", and they are not updating, the worst thing is that i cant even delete them s...
- Is Quick Start for function creation wor...
I am trying to create a Node.js function using the Quick Start feature. It fails and tells me that it could not locate the package.json file. Isn't Quick Start ...
- Forever Processing Issue
I encountered an issue when creating attributes in the collections . if you create an attribute of type string for example and choose a size of 200 or 250 or a...
