“invalid_request" in Compliance API

I got {“reason”:“Internal Error”,“error”:“invalid_request”} response from compliance API

{“reason”:“Internal Error”,“error”:“invalid_request”}
Request failed with status code 400

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

Which Endpoint/s?

How To Reproduce (If applicable)

  1. User deauthorizes the app
  2. Endpoint URL receives a request from Deauthorization Notification
  3. Endpoint URL verifies authorization token in the request header
  4. Use “client_id”, “user_id”, “account_id”, “signature”,“deauthorization_time” in the payload of the request to send a POST request to compliance API with Basic auth header

Screenshots (If applicable)

Additional context

It’s an header error, I missed the ‘content-type’: ‘application/json’ in the header.

1 Like

Happy to hear you got it sorted out! :slight_smile:

Let me know if you have any other questions!


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