Compliance API returning "invalid_request"

I am unable to successfully report completion of deauth event processing to /oauth/data/compliance

Request failed with status code 400

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

Which Endpoint/s?

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

  1. Post request with options = {
    method: ‘POST’,
    url: ‘’,
    headers: {
    ‘content-type’: ‘application/json’,
    authorization: ‘Basic aaa’
    body: {
    client_id: ‘bbb’,
    user_id: ‘6E81VLf2RxCK1RefQMLPvQ’,
    account_id: ‘rl5i2kcBRUW7HTnrogO9Mw’,
    deauthorization_event_received: {
    user_data_retention: ‘false’,
    account_id: ‘rl5i2kcBRUW7HTnrogO9Mw’,
    user_id: ‘6E81VLf2RxCK1RefQMLPvQ’,
    signature: ‘3e760a937192f9a6eeff0db311d6a811220c18cc6939f79bf47cef949741ee90’,
    deauthorization_time: ‘2021-02-04T10:20:46.848Z’,
    client_id: ‘bbb’
    compliance_completed: true
    json: true

  2. 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” }

Hey @venugopalverma01,

Thank you for reaching out to the Zoom Developer Forum. Just to clarify, have you confirmed that the client_id you’re using works for other requests?

If so, please send an email to with a link to this thread as well as the full request you’re making, including the client_id.


My issue got solved.

I have included the URL of my source - from which I am sending the post request to Compliance API, in the list of Whitelist URL.
Before I was to sending the request from sources like postman and rather than from my source code.


1 Like

Hey @venugopalverma01,

I’m glad to hear that resolved your issues! If you encounter any further issues or questions, please don’t hesitate to reach out.