Reference
JSON-RPC parse failures are -32700. A request that is not a 2.0 object is -32600. An unknown method is -32601. Missing MCP _meta is -32602. Application codes are outside -32768 through -32000, so they do not collide with MCP’s -32000 to -32099 band.
| Code | Name | When you see it |
|---|---|---|
| −31801 | AtpInvalidTransaction | Illegal state edge, bad transaction id, empty plan, live replay requested, a cycle sealed as rollback. |
| −31802 | AtpPolicyDenied | A blast-radius rule denied the diff. |
| −31803 | AtpUnknownOutcome | The effect cannot be confirmed, or abort was asked to guess. |
| −31804 | AtpCompensationFailed | The inverse failed and retries are exhausted. The hold waits for RETRY. |
| −31805 | AtpIrreversibleBlocked | A live irreversible step cannot be undone. It is orphaned and the transaction waits. |
| −31806 | AtpReplayDivergence | A recorded transition is not a legal edge. |
| −31807 | AtpIdempotencyConflict | The same txId arrived with a different plan hash. |
| −31808 | AtpApprovalRequired | The transaction is parked for a person. |
| −31809 | AtpManifestRejected | Signature, tool definition, or rule failed closed. |
| −31810 | AtpArgumentInvalid | Arguments failed the schema profile. The idempotency key had not been injected yet. |
| −31811 | AtpToolUnregistered | The signed manifest has no such tool. |
| −31812 | AtpLedgerTampered | Hash, previous link, or anchor check failed. |
state is ROLLED_BACK. Argument validation covers type, enum, string length, numeric bounds, array bounds, items, required, and additionalProperties. It is a profile of JSON Schema 2020-12, not a complete validator.