When i create a subscription offer, the following error occurred, and there is no corresponding log ID.
{
"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/."
}
]
}
https://api.appstoreconnect.apple.com/v1/subscriptionOfferCodes
The invoked open API: https://api.appstoreconnect.apple.com/v1/subscriptionOfferCodes
This is my request data:
{
"data": {
"type": "subscriptionOfferCodes",
"attributes": {
"duration": "ONE_YEAR",
"numberOfPeriods": 1,
"offerMode": "PAY_AS_YOU_GO",
"name": "test_error_issue2",
"customerEligibilities": [
"NEW"
],
"offerEligibility": "STACK_WITH_INTRO_OFFERS"
},
"relationships": {
"prices": {
"data": [
{
"id": "${sg-30-offerCode}",
"type": "subscriptionOfferCodePrices"
}
]
},
"subscription": {
"data": {
"id": "6738041235",
"type": "subscriptions"
}
}
}
},
"included": [
{
"id": "${sg-30-offerCode}",
"type": "subscriptionOfferCodePrices",
"relationships": {
"subscriptionPricePoint": {
"data": {
"id": "eyJzIjoiNjczODA0MTIzNSIsInQiOiJTR1AiLCJwIjoiMTAxODcifQ",
"type": "subscriptionPricePoints"
}
}
}
}
]
}