Possible API errors and their causes

API ResponseDescriptionPossible reasons
{"status":"HTTP_ERROR","response":{"code":400,"message":"The payload is not JSON"}}Invalid JSON format
  1. An error in the query syntax. To rule out this cause, check the json with any validator. For example https://jsonlint.com/
  2. If the validator does not find errors in json, make sure that the encoding is passed in the request header and BOM is not present