redact_job_failed
- HTTP status
- 410 Gone
What happened
The job failed for a reason that is not passed on, for example a reached monthly AI spending cap or a failing EU cloud model.
What to do
Submit the text again as a new job. If it fails again, contact komplai with the request_id.
A text job can also end with this code. The job's status then carries it in the field error.
Example
JSON
{
"error": "redact_job_failed",
"state": "failed",
"request_id": "0f8e2c4a-6b1d-4e3f-9a7c-5d2b8e1f4a60",
"doc_url": "https://developers.komplai.dk/errors/redact_job_failed"
}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
- POST
/v1/redact/restoreRestore the originals in a text - GET
/v1/redact/jobs/{id}/resultRead the result of a text job