Error codes

roster_chunk_conflict

Roster chunk conflict

HTTP 409

A chunk number already received came with different rows, or the number skips one (chunks are numbered from 0 and sent in order). Nothing was changed. A chunk re-sent with its number and the same rows is a replay, not a conflict.

The problem body

Sent as application/problem+json, with the request id in request_id and the X-Request-Id header. Branch on code: the error and detail sentences can change, and some operations add members of their own.

Example problem
{
  "error": "This chunk number was already received with different rows. Nothing was changed. Re-send a chunk only with the same rows; to change a roster, open a new session.",
  "code": "roster_chunk_conflict",
  "type": "https://secondappraisal.com/developers/errors/roster_chunk_conflict",
  "title": "Roster chunk conflict",
  "status": 409,
  "detail": "This chunk number was already received with different rows. Nothing was changed. Re-send a chunk only with the same rows; to change a roster, open a new session.",
  "instance": "/api/gap/v1/plans/roster-sync/sessions/<id>/chunks",
  "request_id": "req_4f9a2c7e1b8d4a6f9c3e2b1a7d5f8e0c"
}

Operations that can send it