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
- Need help to create a wrapper which let ...
I’m looking for help setting up Appwrite properly on a VPS so I can build a self-hosting wrapper around it. The goal is to provide a Linux executable that allow...
- Method EQUAL not wrking in REST API Quer...
Request: ``` postman request 'https://nyc.cloud.appwrite.io/v1/tablesdb/{databaseId}/tables/{tableId}/rows?queries[]={%22method%22%3A%22select%22%2C%22values%2...
- Create file is listing files instead of ...
This is a bit strange but, I cannot create files from within a funcion. I have tested with latest SDKs versions of node and python, both instead of creating the...