Skip to Content
CallMitraDocs
Errors

lead_note_changed

This note was changed by someone else.

HTTP statusTypeCode
409conflict_errorlead_note_changed

What it means

The version you sent is not the note's current version. detail.note holds the current note; reapply your edit to it and retry with its version.

How to handle it

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

Example response

{
  "detail": "This note was changed by someone else.",
  "error": {
    "type": "conflict_error",
    "code": "lead_note_changed",
    "message": "This note was changed by someone else.",
    "param": null,
    "docUrl": "https://docs.callmitra.ai/errors/lead_note_changed",
    "requestId": "req_3f9c2a7d1b8e4c6a9f0e2d4b6a8c0e1f"
  }
}

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

Returned by

  • PATCH /api/v1/leads/{lead_id}/notes/{note_id} — Edit a note

On this page