Hey all!
I've been using the App Store Connect API for a while now, and have been experiencing a recurring issue I don't understand. I've noticed that requests occasionally (and seemingly randomly) fail with this error message: "The specified resource does not exist". Retrying the request usually is successful.
Some examples of errors we've seen:
(Updating an edit version): "There is no resource of type 'appStoreVersions' with id ___" I checked after the fact, appStoreVersion model did exist with the given ID.
(Fetching list of versions): "The specified resource does not exist - There is no resource of type 'AppsV1' with id ___''" Same deal, checked and the models looked OK.
Thanks so much in advance for any advice or help debugging this!
Post
Replies
Boosts
Views
Activity
The App Store Connect API has an endpoint to delete a submission (to "Developer Reject" it):
DELETE https://api.appstoreconnect.apple.com/v1/appStoreVersionSubmissions/{id}
This endpoint doesn't work once the submission enters review (or has been approved), as noted in the docs:
Use this endpoint to remove a version from App Review if the review hasn’t yet started. This request fails with an appropriate error if the app is already in review.
I can't seem to find any way to "Developer Reject" after review has started - am I missing an endpoint in the ASC API (or perhaps even some fastlane action) that allows you to do this??
Note that you can definitely take this action via the UI - once your submission is in review or approved, there's a banner with a "cancel this release" CTA lands you back in a "Developer Rejected" state as expected.
Thanks in advance for any guidance!!