fastlane: The provided entity includes a relationship with an invalid value during distribution to Apple App Store Connect
Getting the below stack trace when trying to distribute to App Store Connect via MS AppCenter.
** Hidden Stack Trace ** `<main>'
/Users/runner/work/r1/a/ios-publisher/bundle/ruby/2.7.0/gems/fastlane-2.208.0/spaceship/lib/spaceship/connect_api/api_client.rb:204:in handle_response': The provided entity includes a relationship with an invalid value - /data/relationships/primaryCategory (Spaceship::UnexpectedResponse) The provided entity includes a relationship with an invalid value - /data/relationships/secondaryCategory ** Hidden Stack Trace **
patch’
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 17
@michael-lmk 's solution worked for me, I did it similar, but I generated a new app store api key for EAS submit and worked like a charm! ps: use an existing key not worked
it’s fix for me ! launch
eas credentials
select ios > {your profile you use for build} > App store connect > Set up your projet to use an API Key for EAS submit > use an existing key > selecy your key > try eas submit again and it’s work for me, i don’t know why but i see than my api key was update 2 month ago maybe problem come from here.for anybody else having this issue and already providing the bundle and short bundle version in the correct format. Maybe you are doing the same thing wrong i did. The requestsd appleId parameter is no the apple-id of a user or something it is the ID of your app
use xcrun --list-apps
to get the id…The provided entity includes a relationship with an invalid valueis not a valid ID for this relationship. (ID: 440bdb70-e4ab-458a-9bfb-afeab3007056)