App Store Connect 409 error when attaching any processed build to App Store version

I’m running into an App Store Connect issue and I’m trying to figure out whether this is a build configuration problem on my side or a backend issue in App Store Connect.

When I try to save my app version after selecting a build, App Store Connect fails and DevTools shows this request failing:

PATCH /iris/v1/appStoreVersions/<appStoreVersionId>

with a 409 Conflict.

The response body is:

Json { "errors": [ { "id": "af484f56-8f7d-4338-a04a-2aeda858ace1", "status": "409", "code": "ENTITY_ERROR.RELATIONSHIP.INVALID", "title": "The provided entity includes a relationship with an invalid value", "detail": "The specified pre-release build could not be added.", "source": { "pointer": "/data/relationships/build" } } ] }

A few details:

The issue seems to happen with all uploaded builds, not just one The builds finish uploading and appear in App Store Connect I’ve already checked and corrected my version/build number setup I created a fresh Release archive I uploaded a new build I removed the previously attached build and tried attaching the new one App Store Connect still refuses to save the version once a build is selected

I’ve already verified that the app version and build number in the project appear to be set correctly.

At this point I’m trying to understand:

Any suggestions on specific things to check would be appreciated.

Thanks.

In my case and in others I've seen, the problem was that I published the "Testflight Only" version, and this version couldn't be sent to production. Apple could at least show a message explaining the reason for the rejection, instead of just leaving the save button red.

Jpeasley, FYI, I fixed your thread’s title, changing it from “pp Store Connect …” to “App Store Connect …”. Normally I try to avoid fixing typos like this, but it was very triggering (-:

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

App Store Connect 409 error when attaching any processed build to App Store version
 
 
Q