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
- context deadline exceeded
Hi, in one of my projects i continuously receive context deadline exceeded when trying to reach users API from my local machine: https://fra.cloud.appwrite.io/v...
- I am currently seeking opportunities as ...
Hey! 👋 I'm a Shopify guy. Been building stores for 8+ years. Still haven't lost my mind. Barely. I make stores that don't suck fast, smooth, and actually built...
- Error getting preview of file
Rest Response: ``` { "message": "Server Error", "code": 500, "type": "general_unknown", "version": "1.8.1" } ``` Appwrite Logs ``` appwrite ...