I get an error when uploading my app to App Store Connect

The following error occurs when uploading to App Store Connect. Is there a solution to this error?

The provided entity includes a relationship with an invalid value

'' is not a valid ID for this relationship. (ID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX)

Xcode version 14.0.1 (14A400) is used.

you can try logging into the account for your project https://developer.apple.com/account and confirm the license agreement

for me it's because my credit card has expired.

In my case, I had to accept the pending agreements @ developer.apple.com > agreements. After that, I'm able to upload the new build to the Appstore.

I got this error in XCode 15. By archiving the project and while I clicked on distribution I choose "Custom" instead of directly hitting to "distribute/deploy on AppStore and TestFlight etc." to upload my app to the AppStore connect and I checked the first two options listed. Worked like a charm for me!

To fix this error, I had to login to Apple Developer, and accept the recent changes to the Apple Developer PLA. Its ridiculous that Apple can't add a better error message and I have to waste my time figuring out what the actual problem is.

I get an error when uploading my app to App Store Connect
 
 
Q