I used github actions to build apks and upload them to appwrite storage but It says that fileId is not optional with the below code
curl -X POST "***/storage/buckets/***/files" \
-H "X-Appwrite-Project: ***" \
-H "X-Appwrite-Key: ***" \
-H "Content-Type: application/vnd.android.package-archive" \
-F "file=@app/build/outputs/apk/release/app-release.apk" \
-F "fileId=***"
{"message":"Param \"fileId\" is not optional.","code":400,"type":"general_argument_invalid","version":"1.6.1"}
When I upload it in console and download the apk file, It is zipped and when I unzip the file it shows my codes
https://github.com/user-attachments/assets/aeee101c-18dc-44c0-8e23-975b6349977e
https://github.com/202420505/TEST_CURL/blob/main/.github/workflows/upload-apk.yml
Recommended threads
- Images/Videos in storage appearing broke...
I am running into a storage issue after upgrading my self-hosted Appwrite instance , all of my previously uploaded images and videos are now showing as broken i...
- `project_id_missing` in Cloud Function w...
I've got a cloud function written in `Dart-3.12` that I'm trying to create a file in a file bucket. I'm using the latest `dart_appwrite` sdk (`26.1.0`) and App...
- Batch Size of Bulk Operations
Is there any way to increase the Batch Size of Bulk Operations on Appwrite Self Hosted? When I try to perform more than 100 operations per batch, I get the foll...