Ios Appstore connect创建配置文件api不';行不通
我使用appstore connect API。我使用了createprofileapi,得到了500个错误()。我检查了所有字段,它们都是正确的。我也和苹果联系过,但他们没有回来 请求:[张贴]: 身体数据:Ios Appstore connect创建配置文件api不';行不通,ios,app-store-connect,apple-developer,Ios,App Store Connect,Apple Developer,我使用appstore connect API。我使用了createprofileapi,得到了500个错误()。我检查了所有字段,它们都是正确的。我也和苹果联系过,但他们没有回来 请求:[张贴]: 身体数据: { "data": { "attributes": { "name": "xxx", "profileType": "IOS_APP_STORE" }, "relationships"
{
"data": {
"attributes": {
"name": "xxx",
"profileType": "IOS_APP_STORE"
},
"relationships": {
"bundleId": {
"data": {
"id": "xxx",
"type": "bundleIds"
}
},
"certificates": {
"data": {
"id": "xxx",
"type": "certificates"
}
}
},
"type": "profiles"
}
}
答复:
{
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/.'
}
]
}
已解决 证书数据必须是数组
"certificates": {
"data": {
"id": "xxx",
"type": "certificates"
}
}
到
"certificates": {
"data": [{
"id": "xxx",
"type": "certificates"
}]
}