QANATIX
API Reference

Errors

Error codes and troubleshooting.

Errors

QANATIX returns standard HTTP status codes with a detail field.

Error response format

{
  "detail": "Record not found"
}

Validation errors include field-level details:

{
  "detail": [
    {
      "loc": ["body", "records", 0, "name"],
      "msg": "field required",
      "type": "value_error.missing"
    }
  ]
}

Status codes

CodeMeaningCommon causes
200Success
201CreatedRecord or key created
400Bad RequestInvalid JSON, missing required fields, malformed query
401UnauthorizedMissing or invalid API key
403ForbiddenAPI key lacks required scope
404Not FoundRecord, collection, or connector not found
413Payload Too LargeBatch exceeds 5,000 records or file > 50 MB
422Validation ErrorRequest body fails Pydantic validation
429Too Many RequestsRate limit exceeded
500Internal ErrorServer error — contact support

Request ID

Every response includes an X-Request-Id header. Include this when reporting issues.

X-Request-Id: req_abc123def456

On this page