When creating development and ad hoc provisioning profiles, Apple requires the existence of suitable test devices on the Apple Developer Portal.
Previous implementations did not check whether appropriate devices were included in the API call.
This lead to 409 responses from App Store Connect API Create Profile endpoint. For example a POST request to the https://api.appstoreconnect.apple.com/v1/profiles endpoint with the following content:
{
"errors" : [ {
"id" : "97c1dc61-f853-43c1-9996-36997eff095d",
"status" : "409",
"code" : "ENTITY_ERROR.RELATIONSHIP.REQUIRED",
"title" : "Relationship is required but was not provided.",
"detail" : "The relationship 'devices' is required but was not provided with this request.",
"source" : {
"pointer" : "data/relationships/devices"
}
} ]
}
When creating development and ad hoc provisioning profiles, Apple requires the existence of suitable test devices on the Apple Developer Portal.
Previous implementations did not check whether appropriate devices were included in the API call.
This lead to
409
responses from App Store Connect API Create Profile endpoint. For example aPOST
request to thehttps://api.appstoreconnect.apple.com/v1/profiles
endpoint with the following content:Results in the following response: