Documentation

CANARY_CAS_MISMATCH

409invalid_request

The recording pointer moved during the canary decision.

Cause

Promoting a canary compare-and-swaps the recording production pointer; it moved in between, so the promotion was refused rather than clobbering it.

How to fix it

Re-read the recording production pointer and re-issue the decision.

Example response

409 CANARY_CAS_MISMATCH
JSON
{
  "error_code": "CANARY_CAS_MISMATCH",
  "error_type": "invalid_request",
  "error_message": "The recording pointer moved during the canary decision.",
  "hint": "Re-read the recording production pointer and re-issue the decision.",
  "docs_url": "https://docs.billerapi.com/errors/CANARY_CAS_MISMATCH",
  "request_id": "d94f5e2a-8c3b-4f1e-9a7d-6b2c1e0f8a34"
}

Related

Canonical docs URL: https://docs.billerapi.com/errors/CANARY_CAS_MISMATCH

Was this page helpful?