The following request get 500 Server Internal Error. Anyone knows why? :(
// Request
curl --location --request POST 'https://api.appstoreconnect.apple.com/v1/devices'
--header 'Authorization: ${the_token}'
--header 'Content-Type: application/json'
--data-raw '{
"data": {
"type": "devices",
"attributes": {
"name": "${the_device_name}",
"udid": "${the_device_udid}",
"platform": "IOS"
}
}
}'
// Response
{
"errors": [
{
"status": "500",
"code": "UNEXPECTED_ERROR",
"title": "An unexpected error occurred.",
"detail": "An unexpected error occurred on the server side. If this issue continues, contact us at https://developer.apple.com/contact/."
}
]
}