Hi, I'm trying to create a response for a review through the Apple Store Connect API, but I receive the following error message when sending the body following this documentation: https://developer.apple.com/documentation/appstoreconnectapi/create_or_update_a_response_to_a_customer_review
cURL Request
--header 'Authorization: {{MY_BEARER_TOKEN}}' \
--header 'Content-Type: application/json' \
--data '{
"attributes": {
"responseBody": "{{MY_RESPONSE}}"
},
"relationships": {
"review": {
"data": {
"id": "{{REVIEW_ID}}",
"type": "customerReviews"
}
}
},
"type": "customerReviewResponses"
}'
*I changed the cURL to not display real data, but they are filled in my request.
Error message:
"errors": [
{
"id": "5575b9ef-9005-4db2-9a89-123b1aaa9355",
"status": "422",
"code": "ENTITY_UNPROCESSABLE",
"title": "The request entity is not a valid request document object",
"detail": "Unexpected or invalid value at 'attributes'.",
"meta": {
"position": {
"row": 2,
"column": 20
}
}
}
]
}
Can you help me put together the body correctly if that's the case of the error?