App Store Connect 409 ENTITY_ERROR.RELATIONSHIP.INVALID — Cannot attach build to version record

This is my first time submitting an app for review. I'm unable to submit my iOS app for review due to a persistent 409 error when trying to attach a build to my App Store version record. This has been happening across multiple builds and version strings.

{ "errors": [{ "id": "80550434-590c-48c6-b2d3-5bd3b038539b", "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" } }] }

What I've tried: • Submitted build 34 (version 1.0) — same 409 error • Incremented to build 35, version 1.0.1 — same 409 error • Removed the build from the version page and re-added it — same error

Environment: • Xcode 16 • iOS deployment target: 17.0 • Builds processed successfully in TestFlight (status: Ready to Submit) • Version record ID: 198605a5​-2671​-44d6​-bacb​-04157088319d

Question:

Has anyone encountered this? Is the version record itself corrupted/stuck? The builds show as valid in TestFlight but cannot be attached to the App Store version.

Answered by manali007 in 888977022

The issue was that the builds in XCloud were for Internal Testing, and I had to manually distribute the app to App Store Connect

yes, I have the same error. Anyone knows how to fix this?

Accepted Answer

The issue was that the builds in XCloud were for Internal Testing, and I had to manually distribute the app to App Store Connect