﻿# TX_REQUIRED — operation must be performed inside a transaction

Reserved. Not currently emitted by any cyoda-go code path.

<em>cyoda-go version <a href="https://github.com/Cyoda/cyoda-go/releases/tag/v0.8.4">0.8.4</a></em>

# errors.TX_REQUIRED

## NAME

TX_REQUIRED — the requested operation can only be performed within an open transaction but no transaction context was provided.

## SYNOPSIS

HTTP: `400` `Bad Request`. Retryable: `no`.

## DESCRIPTION

Reserved. Not currently emitted by any cyoda-go code path.

This error code is reserved for future capabilities where certain operations
explicitly require an open transaction context. In the current model,
transactions are opened automatically per request and the caller does not
supply a pre-existing transaction ID to standard CRUD endpoints.

Not retryable without a transaction context.

## SEE ALSO

- errors
- errors.TX_CONFLICT

## See also

- [`cyoda help errors`](/help/errors/) — Every error response from the Cyoda REST API carries a structured `errorCode` in the `properties` object. Multiple codes may share the same HTTP status. Programmatic handling keys on `errorCode`, not HTTP status.
- [`cyoda help errors TX_CONFLICT`](/help/errors/tx_conflict/) — Reserved. Not currently emitted by any cyoda-go code path.

## Raw formats

- [`/help/errors/tx_required.json`](/help/errors/tx_required.json) — full descriptor (matches `GET /help/{topic}` envelope)
- [`/help/errors/tx_required.md`](/help/errors/tx_required.md) — body only