
my frontend is index.html while my backend is in main.py for some reason, when I try to upload a file, it also sends a binary file to the storage bucket. (the binary file has application/octet-stream mime type and its filename is only 2 digits e.g 87, 73, etc) I cant figure out why it is doing that Please help me

here is the code

yes, I have correct API Key, I intentionally removed it so I can post code here
Recommended threads
- Do I need Redis if using appwrite
Saw appwrite has built-in redis, but does this work for listdocuments, getdocument and other query etc? what does the appwrite redis covers under the hood?
- 404 for self-host
docker-compose.yml: x-logging: &x-logging logging: driver: 'json-file' options: max-file: '5' max-size: '10m' services: traefik: ima...
- Is p-limit compatible with Appwrite?
I have a function that makes asynchronous calls to different Appwrite collections. This is how I make the call: ```js await Promise.allSettled([ ...
