TX_REQUIRED — operation must be performed inside a transaction
cyoda-go version 0.6.2
errors.TX_REQUIRED
Section titled “errors.TX_REQUIRED”TX_REQUIRED — the requested operation can only be performed within an open transaction but no transaction context was provided.
SYNOPSIS
Section titled “SYNOPSIS”HTTP: 400 Bad Request. Retryable: no.
DESCRIPTION
Section titled “DESCRIPTION”Certain write operations that require atomic multi-step coordination mandate a transaction context. Returned when such an operation is called without a transactionId header or query parameter.
Not retryable without a transaction. The operation requires an open transaction ID passed as a header or query parameter.
SEE ALSO
Section titled “SEE ALSO”- errors
- errors.TX_CONFLICT
- errors.TX_COORDINATOR_NOT_CONFIGURED
See also
Section titled “See also”cyoda help errors— Every error response from the Cyoda REST API carries a structurederrorCodein thepropertiesobject. Multiple codes may share the same HTTP status. Programmatic handling keys onerrorCode, not HTTP status.cyoda help errors TX_CONFLICT— The underlying storage detected a serialization failure (e.g., PostgreSQL error 40001 or 40P01) and aborted the transaction. Normal occurrence under concurrent write load when using serializable or repeatable-read isolation.cyoda help errors TX_COORDINATOR_NOT_CONFIGURED— Certain operations that span multiple storage shards require a distributed transaction coordinator. This error is returned when such an operation is attempted on a node where the coordinator component is disabled or misconfigured.
Raw formats
Section titled “Raw formats”/help/errors/tx_required.json— full descriptor (matchesGET /help/{topic}envelope)/help/errors/tx_required.md— body only