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.reason | Means | Fix |
|---|---|---|
missing_header | A personal access token called a route about one project, and named none | Send the project's id in the x-mapier-project header |
Example
{
"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
}
}