Error on API - Unprocessable Entity

I tried using the API and submitting the application but i got this error message “Unprocessable Entity”

I’m using this curl request

curl --request POST \
       --url https://api.volt.build/v1/app \
       --header 'authorization: Bearer ".$authentication."' \
       --form platform=$platform\
       --form app=@app_build.zip

It looks like you’re using an environment variable for platform? Are you certain it’s set to “android” or “ios”?

Yes it echoes the value, here is the output

curl --request POST --url https://api.volt.build/v1/app --header 'authorization: Bearer Authorization_Token' --form platform=android --form app=@app_build.zip

I’ve found the problem. Try this:

curl --request POST --url https://api.volt.build/v1/app --header 'authorization: Bearer Authorization_Token' --form platform=android --form 'app=@app_build.zip;type=application/zip'

Apologies for this oversight in the docs. I’ll get them updated soon. Let me know if that works for you.

Thanks for your reply

That solved the issue :+1: