Hi.
I'm looking to automate the APK uploading to the Appstore using the Amazon Submission API. I'm having trouble getting the upload to work.
The steps for uploading the APK is:
- Authenticate and get an access token
- Get an active edit or create a new one
- Replace the existing APK in the edit or add a new one
- Commit the edit
I'm running into issues at Step (2):
- When I look for active edits, the HTTP response is that there are none; so I move on to creating a new edit
- When I try to create a new edit, I get an HTTP 412 error and the following response body
- {"httpCode":412,"message":"Precondition Failed","errors":[{"errorCode":"error_new_version_creation_not_allowed","errorMessage":"Cannot create a new 'edit' for the app in it's current state."}
What does this error mean? What am I doing wrong? Is it possible to automate APK uploads to the Amazon Appstore?
If you need information on the specific app and Appstore account this refers to, please contact me directly.
Thanks.