bad_request

The request could not be read

400 · Retry: no. The body is not valid JSON, the channel could not read the request, or a header the call needs is missing. Nothing was sent.

Reasons

This table lists every reason Mapier sets, and the fix. Any other details.reason is the channel's own word.

details.reasonMeansFix
missing_headerA personal access token called a route about one project, and named noneSend the project's id in the x-mapier-project header

Example

400 Bad Request
{
  "error": {
    "code": "bad_request",
    "message": "The body is not valid JSON, or the channel rejected the request as malformed.",
    "details": {},
    "requestId": "0192c4e1-…",
    "docUrl": "https://docs.mapier.ai/convo/api/errors#bad_request",
    "retryable": false
  }
}

Next