Tearleads

DocumentBaselineStageConflictErrorResponse

A refused stage request. A document_baseline_stage_* code says what the stage is worth now; an uncoded conflict is a failed access check or a write that raced another, and leaves the stage as it was.

Shape

object

4 fields
  • codestringoptional
    • one of document_baseline_stage_epoch_stale, document_baseline_stage_expired, document_baseline_stage_id_conflict, document_baseline_stage_limit_reached, document_baseline_stage_segment_conflict, document_baseline_stage_segment_invalid, document_baseline_stage_segment_out_of_order, document_baseline_stage_too_large
  • errorstringrequired
    • not empty
  • nextSegmentIndexintegeroptional
    • 0 to 4,095

    With document_baseline_stage_segment_out_of_order, the index the stage expects next.

  • openStageslist of objectoptional
    • at most 4 items

    With document_baseline_stage_limit_reached, the caller's open stages on other documents: each one's baselineId, documentId and expiresAt. Abandoning one makes room.

    3 fields
    • baselineIdstringrequired
      • lowercase UUID v4
    • documentIdstringrequired
      • not empty
    • expiresAtstringrequired
      • not empty

    Other fields are allowed.

Other fields are allowed.

Used by