AI_CONTEXT_NOTE_VERSION_CONFLICTThe organisation context note was changed by someone else.
Z BizKitHub Docs, dokumentacja kodów błędów API
Nazwy i opisy kodów prowadzimy po angielsku.
HTTP 409Ogólne
The update sent `expectedVersion`, but the note has a newer version: another member or AI agent edited it in the meantime. Nothing was written.
Jak to rozwiązać
- 1
Fetch the note again (`GET /bff/ai-context/detail?id=…`), merge your change into the current content and retry with the new `version`.
Przykładowa odpowiedź
API odpowiada statusem HTTP 409 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.
application/json
{
"state": "error",
"code": 409,
"message": "The organisation context note was changed by someone else.",
"errorCode": "AI_CONTEXT_NOTE_VERSION_CONFLICT",
"hint": "The update sent `expectedVersion`, but the note has a newer version: another member or AI agent edited it in the meantime. Nothing was written.",
"documentationUrl": "https://docs.bizkithub.com/errors/AI_CONTEXT_NOTE_VERSION_CONFLICT"
}