Zoom compliance API returns 400 with invalid_request response

Using this template helps us debug your issues more effectively :slight_smile:

Description
Zoom compliance API returns 400 with invalid_request response

Error
Request to call compliance API fails with 400 error code
{“reason”:“Invalid Request”,“error”:“invalid_request”}

Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth

Which Endpoint/s?
https://api.zoom.us/oauth/data/compliance

How To Reproduce (If applicable)
Steps to reproduce the behavior:

Request curl -X POST
https://api.zoom.us/oauth/data/compliance
-H ‘Authorization: Basic *****’
-H ‘Content-Type: application/json’
-H ‘cache-control: no-cache’
-d '{
“client_id”: “*****WqbKMK0l5kA”,
“user_id”: “*****BWVKLS1vQtd4w”,
“account_id”: “*****T2CyzegDkwxrMg”,
“deauthorization_event_received”: {
“client_id”: “*****WqbKMK0l5kA”,
“user_id”: “*****BWVKLS1vQtd4w”,
“account_id”: “*****T2CyzegDkwxrMg”,
“user_data_retention”: false,
“deauthorization_time”: “2021-05-26T13:50:31.982Z”,
“signature”: “**7fbaf30701debf1451f27”
},
“compliance_completed”: true
}
’
Response:
{“reason”:“Invalid Request”,“error”:“invalid_request”}

Hi @mahaveer,

Thanks for reaching out about this. Most commonly, this error will happen if the signature from the webhook payload you used was already successfully consumed. Is it possible that you might have sent the request successfully already?

If you’re able to share the full request details with us at developersupport@zoom.us, we can take a closer look as well!

Thanks,
Will

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.