{
  "topic": "errors.TX_NO_STATE",
  "path": [
    "errors",
    "TX_NO_STATE"
  ],
  "title": "TX_NO_STATE — transaction has no state record",
  "synopsis": "The two-phase commit coordinator tracks per-transaction state (prepared, committed, aborted). This error is returned when a commit or abort instruction references a transaction for which no state record exists, because the transaction was never prepared or was already cleaned up.",
  "body": "# errors.TX_NO_STATE\n\n## NAME\n\nTX_NO_STATE — the transaction coordinator cannot find a state record for the given transaction ID.\n\n## SYNOPSIS\n\nHTTP: `404` `Not Found`. Retryable: `no`.\n\n## DESCRIPTION\n\nThe two-phase commit coordinator tracks per-transaction state (prepared, committed, aborted). This error is returned when a commit or abort instruction references a transaction for which no state record exists, because the transaction was never prepared or was already cleaned up.\n\nNot retryable. `prepare` must be called before `commit` or `abort`. The coordinator's state retention configuration determines how long state records are kept.\n\n## SEE ALSO\n\n- errors\n- errors.TX_REQUIRED\n- errors.TX_COORDINATOR_NOT_CONFIGURED\n- errors.TRANSACTION_NOT_FOUND\n",
  "sections": [
    {
      "name": "NAME",
      "body": "TX_NO_STATE — the transaction coordinator cannot find a state record for the given transaction ID."
    },
    {
      "name": "SYNOPSIS",
      "body": "HTTP: `404` `Not Found`. Retryable: `no`."
    },
    {
      "name": "DESCRIPTION",
      "body": "The two-phase commit coordinator tracks per-transaction state (prepared, committed, aborted). This error is returned when a commit or abort instruction references a transaction for which no state record exists, because the transaction was never prepared or was already cleaned up.\n\nNot retryable. `prepare` must be called before `commit` or `abort`. The coordinator's state retention configuration determines how long state records are kept."
    },
    {
      "name": "SEE ALSO",
      "body": "- errors\n- errors.TX_REQUIRED\n- errors.TX_COORDINATOR_NOT_CONFIGURED\n- errors.TRANSACTION_NOT_FOUND"
    }
  ],
  "see_also": [
    "errors",
    "errors.TX_REQUIRED",
    "errors.TX_COORDINATOR_NOT_CONFIGURED",
    "errors.TRANSACTION_NOT_FOUND"
  ],
  "stability": "stable",
  "actions": []
}
