Bad Request
- HTTP status
- 400 Bad Request
What happened
Fastify's reason phrase: a path parameter does not have the documented form, for example a job id that is not a UUID.
What to do
Use the id exactly as the API returned it.
Example
JSON
{
"error": "Bad Request",
"request_id": "0f8e2c4a-6b1d-4e3f-9a7c-5d2b8e1f4a60",
"doc_url": "https://developers.komplai.dk/errors/bad-request"
}Every response carries a Request-Id header, and an error body repeats it as request_id. Quote it when you ask komplai about a call.
Endpoints that can return it
- GET
/v1/redact/jobs/{id}Read the status of a text job - DELETE
/v1/redact/jobs/{id}Delete a text job - GET
/v1/redact/jobs/{id}/resultRead the result of a text job