Description
I am unable to successfully report completion of deauth event processing to /oauth/data/compliance
Error
Request failed with status code 400
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:
-
Post request with options = {
method: ‘POST’,
url: ‘https://api.zoom.us/oauth/data/compliance’,
headers: {
‘content-type’: ‘application/json’,
authorization: ‘Basic aaa’
},
body: {
client_id: ‘bbb’,
user_id: ‘’,
account_id: ‘’,
deauthorization_event_received: {
user_data_retention: ‘false’,
account_id: ‘’,
user_id: ‘’,
signature: ‘’,
deauthorization_time: ‘2021-02-04T10:20:46.848Z’,
client_id: ‘’
},
compliance_completed: true
},
json: true
}; -
See response {
“reason”: “Invalid client id or client secret”,
“error”: “invalid_request”
}
Additional context
I am using production credentials for all this.
At first I was getting response from compliance as { “reason” : “Internal Error” , “error” : “invalid_request” }.
After sometime I started getting response as { “reason” : “Invalid client id or client secret” , “error” : “invalid_request” }