I'm using the publishing API for updating my apps in the amazon appstore.
This was working fine for months, but now I can't delete existing APKs anymore due to a strange error.
I'm using the following call with the etag header:
DELETE https://developer.amazon.com/api/appstore/v1/applications/<appID>/edits/<editId>/apks/<apkId>
Since a couple of days I receive this error when deleting:
{"httpCode":400,"message":"Bad Request","errors":[{"errorCode":"error_apk_version_already_uploaded","errorMessage":"Failed to upload APK. The version codes of all uploaded APKs in an app must be unique. The APK you just uploaded with version code 76 conflicts with the version code of an existing APK in the current version."}]}
I still can delete the APK manually via the web UI. What's going on here? I really need this feature since I have a lot of apps!
And no, I can't use the `replaceApk` endpoint since I the APKs are too big..