Skip to main content

Validation failed (409): bundle is invalid error when uploading to App Store Connect

Fix the 409 bundle-is-invalid error from the Deploy to App Store Connect - Application Loader Step by setting your app's Apple ID in the Step.

Issue:

When the Deploy to App Store Connect - Application Loader Step uploads your app, the upload fails with an error like:

Validation failed (409) This bundle is invalid. The bundle identifier cannot be changed from the current value, 'com.example.app'.

This can happen even if you haven't changed your app's bundle identifier or your Bitrise configuration.

Possible solutions:

Specifying your app's Apple ID in the Step

Set the App's Apple ID in App Store Connect (app_id) input of the Deploy to App Store Connect - Application Loader Step. This is the numeric ID of your app, available on the App Information page of your app in App Store Connect: for example, 1023456789.

With the Apple ID specified, the upload targets your app's App Store Connect record directly instead of relying on bundle identifier matching.

Checking the bundle identifier

If the error persists, compare the bundle identifier in your project's Info.plist with the one registered for your app in App Store Connect. The error is also raised when the uploaded build's bundle identifier differs from the one the app was registered with — for example, after a signing or configuration change that rewrites it.

Additional information:

Did this answer your question?