Tearleads

DocumentSyncErrorResponse

A refused sync. The code tells the client what to do: regenerate a rotation checkpoint, commit rekeys first, replan, recover update ids, or stop.

Shape

object

3 fields
  • codestringrequired
    • one of document_sync_checkpoint_coverage_conflict, document_sync_conflict, document_sync_descendant_rekeys_required, document_sync_state_stale, document_sync_update_id_conflict
  • errorstringrequired
    • not empty
  • principalHeadslist of ReferencedPrincipalStateResponseoptional
    • at most 16 items

    With document_sync_state_stale from a carried rekey, up to 16 current principal heads to recover before replanning; advisory only.

Other fields are allowed.

Used by