Andrew avatar image
Andrew asked

App Submission and Testing APIs randomly return 401s fairly frequently

We've been seeing failures in our automation which uses the App Submission and Testing APIs: (e.g. for creating edits, uploading APKs etc.).

In our logs we see occasional 401 responses. These occur immediately after several successful 200 responses. In all cases we use the same auth token.

I've reproduced this on the command line with a simple curl command. I can run the command below repeatedly from a terminal and occasionally it'll just return 401. I'd say roughly 20% of the time maybe.

curl${APP_ID}/edits/${EDIT_ID} -H 'Authorization: Bearer ${TOKEN}' -vvv

Can someone take a look please. We're having to put lots of ugly workarounds in our automation to handle this.

amazon appstoreapp submission and updatesapi
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers