Solved : I ended up using python which worked just fine
Post
Replies
Boosts
Views
Activity
Ok, so, after a bit of back and forth, here's where I stand :
curl --location 'https://api.appstoreconnect.apple.com/v1/analyticsReportRequests' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer [my_token]' \
--data '{
"type": "analyticsReportRequests",
"attributes": {
"accessType": "ONGOING"
},
"relationships": {
"app" : {
"data" : {
"type" : "apps",
"id" : "[my_appid]"
}
}
}
}'
I have changed up my request such that it now looks like this, and I've got a new issue :
{
"errors": [
{
"id": "[id]",
"status": "422",
"code": "ENTITY_UNPROCESSABLE",
"title": "The request entity is not a valid request document object",
"detail": "Unexpected or invalid value at 'type'.",
"meta": {
"position": {
"row": 2,
"column": 22
}
}
}
]
}
Doesn't really feel like I've made any progress, but I'm now getting a 422 error response, and I really don't see any way out of this. Any help at all would be appreciated.