Skip to Content
CallMitraDocs
Errors

conflict

The request conflicts with the current state of the resource.

HTTP statusTypeCode
409conflict_errorconflict

What it means

Another change already happened (for example a duplicate or a state that no longer allows this action). Fetch the resource again and retry if it still makes sense.

How to handle it

Fetch the resource again to see its current state, then decide whether to retry.

Example response

{
  "detail": "The request conflicts with the current state of the resource.",
  "error": {
    "type": "conflict_error",
    "code": "conflict",
    "message": "The request conflicts with the current state of the resource.",
    "param": null,
    "docUrl": "https://docs.callmitra.ai/errors/conflict",
    "requestId": "req_3f9c2a7d1b8e4c6a9f0e2d4b6a8c0e1f"
  }
}

Branch on error.code; it never changes once published. The message text can change. See Errors for the envelope.

Returned by

Any endpoint can return this code.

On this page