W W.A.L.T.Developers Main site
API error · HTTP 400

bad_request

Bad request

HTTP status400 Bad Request
codebad_request
titleBad request
Retry?No

What it means

WALT could not accept the request as sent, for example an invalid pagination cursor, or a document upload without a Content-Length header (chunked uploads are refused). detail says what is wrong.

What to do

Do not retry unchanged. Fix the request: use the next_cursor from a previous page as the cursor, and send uploads with a Content-Length. See §5.

Example response

Branch on code, never on title or detail. detail varies; quote request_id to support.

HTTP
HTTP/1.1 400 Bad Request
Content-Type: application/problem+json

{
  "type": "https://www.underwritinguk.ai/developers/errors/bad_request",
  "title": "Bad request",
  "status": 400,
  "code": "bad_request",
  "detail": "Bad request.",
  "request_id": "7b0b1e5c-2f7e-4a52-9a43-5b0d0f0e9d11"
}

All error codes · Error catalogue in the integration guide (§15) · Error handling and retries (§12.4)