Numeric identifiers are stable wire values. Your connection bundle lists the protocols enabled for your account.
Reject registry
HTTP status is the canonical error mapping. TCP is the legacy numeric adapter; a dash means no mapping. FIX uses extension tag 9101. FIXP uses its business-reject category, which can be coarser. WebSocket execution events carry the event's rejectCode unchanged.
| Canonical code | HTTP | TCP adapter | FIX 9101 | FIXP reason |
|---|
max_fills_per_action_exceeded | 400 | - | 1000 | 7 |
app_attribution_rejected | 403 | 206 | 1057 | 7 |
app_limit_exceeded | 429 | 107 | 1058 | 7 |
sandbox_environment | 403 | - | 1059 | 7 |
risk_would_exceed_available_usdc | 400 | - | 1001 | 7 |
insufficient_spot_asset | 400 | - | 1002 | 7 |
insufficient_shares | 400 | - | 1003 | 7 |
insufficient_usdc | 400 | - | 1004 | 7 |
nonce_below_floor | 409 | 203 | 203 | 7 |
nonce_outside_window | 409 | 205 | 205 | 7 |
nonce_replayed | 409 | 204 | 204 | 7 |
nonce_mismatch | 409 | 201 | 201 | 7 |
post_only_requires_passive_limit_order | 400 | - | 1009 | 7 |
post_only_would_cross | 400 | - | 1010 | 7 |
fok_not_filled | 400 | - | 1011 | 7 |
reduce_only_qty_exceeds_position | 400 | - | 1012 | 7 |
reduce_only_invalid_side | 400 | - | 1013 | 7 |
spot_notional_below_minimum | 400 | - | 1014 | 7 |
price_must_be_positive | 400 | - | 1015 | 7 |
qty_must_be_positive | 400 | - | 1016 | 7 |
price_not_aligned_to_tick | 400 | - | 1017 | 7 |
qty_not_aligned_to_lot | 400 | - | 1018 | 7 |
qty_exceeds_max | 400 | - | 1019 | 7 |
fee_exceeds_notional | 400 | - | 1020 | 7 |
duplicate_order_id | 409 | - | 1021 | 7 |
idempotency_key_conflict | 409 | - | 1022 | 7 |
trading_halted | 503 | 103 | 103 | 7 |
unauthorized_cancel | 403 | - | 1023 | 7 |
order_not_open | 400 | - | 1024 | 7 |
invalid_amend | 400 | - | 1025 | 7 |
account_market_open_order_cap_exceeded | 400 | - | 1026 | 7 |
account_open_order_cap_exceeded | 400 | - | 1027 | 7 |
price_level_order_cap_exceeded | 400 | - | 1028 | 7 |
book_depth_exceeded | 400 | - | 1029 | 7 |
insufficient_balance | 400 | - | 1030 | 7 |
self_trade_prevented | 400 | - | 1031 | 7 |
order_not_found | 404 | - | 1032 | 7 |
rate_limited | 429 | 101 | 101 | 7 |
backpressure | 503 | 100 | 100 | 7 |
runtime_unavailable | 503 | - | 1033 | 7 |
invalid_stp_mode | 400 | - | 1034 | 12 |
unknown_variant | 400 | - | 1035 | 1 |
unknown_field | 400 | - | 1036 | 1 |
missing_field | 400 | - | 1037 | 1 |
schema_violation | 400 | - | 1038 | 1 |
invalid_signature | 401 | 200 | 200 | 11 |
market_not_found | 404 | 300 | 300 | 7 |
timestamp_out_of_window | 400 | 1060 | 1060 | 7 |
expired | 400 | - | 1039 | 7 |
engine_rejected | 400 | - | 1000 | 7 |
auth_required | 401 | 200 | 200 | 11 |
permission_denied | 403 | - | 1042 | 11 |
invalid_request | 400 | - | 1043 | 1 |
unknown_reject | 400 | - | 1044 | 7 |
risk_credit_limit | 400 | - | 1045 | 7 |
open_order_limit | 400 | - | 1046 | 7 |
duplicate_or_stale | 409 | - | 1047 | 7 |
machine_auth_replay | 409 | - | 1048 | 7 |
invalid_order_entry_credentials | 401 | 200 | 200 | 11 |
nonce_reservation_failed | 409 | - | 1049 | 7 |
duplicate_nonce | 409 | 201 | 201 | 7 |
session_expired | 401 | 200 | 200 | 11 |
ledger_degraded | 503 | 104 | 104 | 7 |
invalid_magic | 400 | 1 | 1 | 7 |
unsupported_version | 400 | 2 | 2 | 7 |
idempotency_replay | 409 | 102 | 102 | 7 |
session_violation | 400 | 202 | 202 | 7 |
account_not_found | 404 | 301 | 301 | 7 |
cross_account | 403 | - | 1050 | 2 |
duplicate_client_order_id | 409 | - | 1051 | 3 |
unknown_original_client_order_id | 404 | - | 1052 | 4 |
unresolved_order_id | 404 | - | 1053 | 5 |
session_not_established | 401 | - | 1054 | 6 |
empty_mass_quote | 400 | - | 1055 | 9 |
status_not_found | 404 | - | 1056 | 10 |
Binary rejection numbers
Numbers emitted directly by binary order entry. A code that appears in both tables has the same meaning.
| Wire name | Number |
|---|
| InvalidMagic | 1 |
| UnsupportedVersion | 2 |
| BackpressureFull | 100 |
| RateLimitExceeded | 101 |
| IdempotencyReplay | 102 |
| TradingHalted | 103 |
| LedgerDegraded | 104 |
| AppLimitExceeded | 107 |
| AppAttributionRejected | 206 |
| AuthFailed | 200 |
| NonceReuse | 201 |
| SessionViolation | 202 |
| NonceBelowFloor | 203 |
| NonceSpent | 204 |
| NonceAboveWindow | 205 |
| MarketUnknown | 300 |
| AccountUnknown | 301 |
| InternalError | 500 |
| TimestampOutOfWindow | 1060 |
InternalError reports an internal admission failure. It does not identify a client session violation. Decoders must handle code 500.
Reading a reject
A rejected order returns the canonical code over HTTP, in 9101 on FIX and as the reason on FIXP. For example, a post-only order that would cross the book returns HTTP 400 with post_only_would_cross, FIX 9101=1010 and FIXP reason 7.
Other 503 codes are transient. Retry with backoff and check GET /api/v1/readiness. If a 503 arrives after you sent an order, do not resend it blindly: reconcile by idempotency key through the order receipt first.
SBE Order Entry schema
Schema ID 1, schema version 3, semantic version 1.2. FIXP session messages use this schema; field IDs and enum values follow it, not FIX tag semantics. Fixed payload integers are little-endian; the SOFH envelope is big-endian. GET /api/v1/fixp/schema returns the schema XML.
SOFH envelope
Total length includes this 6-byte prefix. Encoding type is 0x5BE0. Both prefix fields are big-endian; the SBE header and body follow.
| Field | Offset | Bytes |
|---|
| messageLength | 0 | 4 |
| encodingType | 4 | 2 |
| Field | Offset | Bytes |
|---|
| blockLength | 0 | 2 |
| templateId | 2 | 2 |
| schemaId | 4 | 2 |
| version | 6 | 2 |
groupSizeEncoding
| Field | Offset | Bytes |
|---|
| blockLength | 0 | 2 |
| numInGroup | 2 | 2 |
varString
| Field | Offset | Bytes |
|---|
| length | 0 | 2 |
| varData | 2 | variable |
Side
OrdType
| Value | Encoding |
|---|
| Market | 1 |
| Limit | 2 |
TimeInForce
| Value | Encoding |
|---|
| Gtc | 1 |
| Ioc | 3 |
| Fok | 4 |
| PostOnly | 5 |
StpMode
| Value | Encoding |
|---|
| CancelMaker | 1 |
| CancelTaker | 2 |
| Reject | 3 |
| SkipSelf | 4 |
Book
ExecType
| Value | Encoding |
|---|
| New | 0 |
| Trade | 1 |
| Canceled | 2 |
| Replaced | 3 |
| PendingNew | 4 |
| PendingReplace | 5 |
| Rejected | 6 |
| Restated | 7 |
| OrderStatus | 8 |
| PendingCancel | 9 |
OrdStatus
| Value | Encoding |
|---|
| New | 0 |
| PartiallyFilled | 1 |
| Filled | 2 |
| Canceled | 4 |
| Replaced | 5 |
| Rejected | 8 |
FlowType
| Value | Encoding |
|---|
| NoneFlow | 0 |
| Unsequenced | 1 |
| Idempotent | 2 |
| Recoverable | 3 |
NegotiationRejectCode
| Value | Encoding |
|---|
| Unspecified | 0 |
| Credentials | 1 |
| FlowTypeNotSupported | 2 |
| AlreadyNegotiated | 3 |
EstablishmentRejectCode
| Value | Encoding |
|---|
| Unspecified | 0 |
| Credentials | 1 |
| Unnegotiated | 2 |
| AlreadyEstablished | 3 |
| KeepaliveInterval | 4 |
TerminationCode
| Value | Encoding |
|---|
| Finished | 0 |
| UnspecifiedError | 1 |
| ReRequestOutOfBounds | 2 |
| ReRequestInProgress | 3 |
| Unnegotiated | 4 |
| Unestablished | 5 |
| KeepaliveExpired | 6 |
Scalar types
| Type | Primitive | Bytes | Null value |
|---|
| AccountId | uint8 | 20 | - |
| OrderId | uint8 | 32 | - |
| MarketId | uint64 | 8 | - |
| Price | uint64 | 8 | 18446744073709551615 |
| Qty | uint64 | 8 | - |
| Timestamp | uint64 | 8 | - |
| ClOrdId | char | 64 | - |
| ExecId | char | 24 | - |
| RefMsgType | char | 2 | - |
| RefId | uint32 | 4 | 4294967295 |
| Reason16 | uint16 | 2 | - |
| BoolByte | uint8 | 1 | - |
| SessionId | uint8 | 16 | - |
| SeqNo | uint64 | 8 | - |
| KeepaliveMs | uint64 | 8 | - |
| ControlEpoch | uint64 | 8 | - |
NewOrderSingle (template 1)
Available since schema version 0. Fixed block: 122 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| clOrdId | 11 | ClOrdId | 0 | 64 | 0 | - |
| account | 1 | AccountId | 64 | 20 | 0 | - |
| marketId | 55 | MarketId | 84 | 8 | 0 | - |
| price | 44 | Price | 92 | 8 | 0 | 18446744073709551615 |
| orderQty | 38 | Qty | 100 | 8 | 0 | - |
| expireTime | 126 | Timestamp | 108 | 8 | 0 | - |
| side | 54 | Side | 116 | 1 | 0 | - |
| ordType | 40 | OrdType | 117 | 1 | 0 | - |
| timeInForce | 59 | TimeInForce | 118 | 1 | 0 | - |
| book | 9100 | Book | 119 | 1 | 0 | - |
| stpMode | 7928 | StpMode | 120 | 1 | 0 | - |
| reduceOnly | 9101 | BoolByte | 121 | 1 | 0 | - |
OrderCancelRequest (template 2)
Available since schema version 0. Fixed block: 188 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| clOrdId | 11 | ClOrdId | 0 | 64 | 0 | - |
| origClOrdId | 41 | ClOrdId | 64 | 64 | 0 | - |
| orderId | 37 | OrderId | 128 | 32 | 0 | - |
| account | 1 | AccountId | 160 | 20 | 0 | - |
| marketId | 55 | MarketId | 180 | 8 | 0 | - |
OrderCancelReplaceRequest (template 3)
Available since schema version 0. Fixed block: 209 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| clOrdId | 11 | ClOrdId | 0 | 64 | 0 | - |
| origClOrdId | 41 | ClOrdId | 64 | 64 | 0 | - |
| cancelOrderId | 37 | OrderId | 128 | 32 | 0 | - |
| account | 1 | AccountId | 160 | 20 | 0 | - |
| marketId | 55 | MarketId | 180 | 8 | 0 | - |
| price | 44 | Price | 188 | 8 | 0 | 18446744073709551615 |
| orderQty | 38 | Qty | 196 | 8 | 0 | - |
| side | 54 | Side | 204 | 1 | 0 | - |
| ordType | 40 | OrdType | 205 | 1 | 0 | - |
| timeInForce | 59 | TimeInForce | 206 | 1 | 0 | - |
| book | 9100 | Book | 207 | 1 | 0 | - |
| stpMode | 7928 | StpMode | 208 | 1 | 0 | - |
OrderMassCancelRequest (template 4)
Available since schema version 0. Fixed block: 93 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| clOrdId | 11 | ClOrdId | 0 | 64 | 0 | - |
| account | 1 | AccountId | 64 | 20 | 0 | - |
| massCancelRequestType | 530 | BoolByte | 84 | 1 | 0 | - |
| expectedCompletedPurgeEpoch | 9102 | ControlEpoch | 85 | 8 | 3 | - |
Repeating group targets (ID 552), entry block 9 bytes:
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| marketId | 55 | MarketId | 0 | 8 | 0 | - |
| side | 54 | Side | 8 | 1 | 0 | - |
OrderStatusRequest (template 5)
Available since schema version 0. Fixed block: 116 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| clOrdId | 11 | ClOrdId | 0 | 64 | 0 | - |
| account | 1 | AccountId | 64 | 20 | 0 | - |
| orderId | 37 | OrderId | 84 | 32 | 0 | - |
MassQuoteRequest (template 6)
Available since schema version 2. Fixed block: 92 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| clOrdId | 11 | ClOrdId | 0 | 64 | 0 | - |
| account | 1 | AccountId | 64 | 20 | 0 | - |
| marketId | 55 | MarketId | 84 | 8 | 0 | - |
Repeating group quoteEntries (ID 295), entry block 117 bytes:
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| origClOrdId | 41 | ClOrdId | 0 | 64 | 0 | - |
| cancelOrderId | 37 | OrderId | 64 | 32 | 0 | - |
| price | 44 | Price | 96 | 8 | 0 | 18446744073709551615 |
| orderQty | 38 | Qty | 104 | 8 | 0 | - |
| side | 54 | Side | 112 | 1 | 0 | - |
| ordType | 40 | OrdType | 113 | 1 | 0 | - |
| timeInForce | 59 | TimeInForce | 114 | 1 | 0 | - |
| book | 9100 | Book | 115 | 1 | 0 | - |
| stpMode | 7928 | StpMode | 116 | 1 | 0 | - |
OrderMassStatusRequest (template 7)
Available since schema version 2. Fixed block: 93 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| clOrdId | 11 | ClOrdId | 0 | 64 | 0 | - |
| account | 1 | AccountId | 64 | 20 | 0 | - |
| marketId | 55 | MarketId | 84 | 8 | 0 | - |
| side | 54 | Side | 92 | 1 | 0 | 0 |
ExecutionReport (template 10)
Available since schema version 0. Fixed block: 203 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| orderId | 37 | OrderId | 0 | 32 | 0 | - |
| clOrdId | 11 | ClOrdId | 32 | 64 | 0 | - |
| execId | 17 | ExecId | 96 | 24 | 0 | - |
| marketId | 55 | MarketId | 120 | 8 | 0 | - |
| price | 44 | Qty | 128 | 8 | 0 | - |
| orderQty | 38 | Qty | 136 | 8 | 0 | - |
| lastQty | 32 | Qty | 144 | 8 | 0 | - |
| cumQty | 14 | Qty | 152 | 8 | 0 | - |
| leavesQty | 151 | Qty | 160 | 8 | 0 | - |
| avgPx | 6 | Qty | 168 | 8 | 0 | - |
| transactTime | 60 | Timestamp | 176 | 8 | 0 | - |
| execType | 150 | ExecType | 184 | 1 | 0 | - |
| ordStatus | 39 | OrdStatus | 185 | 1 | 0 | - |
| side | 54 | Side | 186 | 1 | 0 | - |
| feeMicros | 9102 | Qty | 187 | 8 | 2 | - |
| transactTimeNs | 9103 | Timestamp | 195 | 8 | 2 | - |
Variable field text (ID 58) follows the fixed content: little-endian uint16 UTF-8 byte length, then exactly that many bytes.
OrderCancelReject (template 11)
Available since schema version 0. Fixed block: 164 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| clOrdId | 11 | ClOrdId | 0 | 64 | 0 | - |
| origClOrdId | 41 | ClOrdId | 64 | 64 | 0 | - |
| orderId | 37 | OrderId | 128 | 32 | 0 | - |
| cxlRejReason | 102 | Reason16 | 160 | 2 | 0 | - |
| ordStatus | 39 | OrdStatus | 162 | 1 | 0 | - |
| cxlRejResponseTo | 434 | BoolByte | 163 | 1 | 0 | - |
Variable field text (ID 58) follows the fixed content: little-endian uint16 UTF-8 byte length, then exactly that many bytes.
BusinessMessageReject (template 12)
Available since schema version 0. Fixed block: 10 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| refMsgType | 372 | RefMsgType | 0 | 2 | 0 | - |
| businessRejectRefId | 379 | RefId | 2 | 4 | 0 | 4294967295 |
| businessRejectReason | 380 | RefId | 6 | 4 | 0 | 4294967295 |
Variable field text (ID 58) follows the fixed content: little-endian uint16 UTF-8 byte length, then exactly that many bytes.
Negotiate (template 100)
Available since schema version 0. Fixed block: 25 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| sessionId | 39001 | SessionId | 0 | 16 | 0 | - |
| timestamp | 60 | Timestamp | 16 | 8 | 0 | - |
| clientFlow | 39002 | FlowType | 24 | 1 | 0 | - |
Variable field credentials (ID 39003) follows the fixed content: little-endian uint16 UTF-8 byte length, then exactly that many bytes.
NegotiationResponse (template 101)
Available since schema version 0. Fixed block: 25 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| sessionId | 39001 | SessionId | 0 | 16 | 0 | - |
| requestTimestamp | 39004 | Timestamp | 16 | 8 | 0 | - |
| serverFlow | 39005 | FlowType | 24 | 1 | 0 | - |
NegotiationReject (template 102)
Available since schema version 0. Fixed block: 25 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| sessionId | 39001 | SessionId | 0 | 16 | 0 | - |
| requestTimestamp | 39004 | Timestamp | 16 | 8 | 0 | - |
| code | 39006 | NegotiationRejectCode | 24 | 1 | 0 | - |
Variable field reason (ID 58) follows the fixed content: little-endian uint16 UTF-8 byte length, then exactly that many bytes.
Establish (template 103)
Available since schema version 0. Fixed block: 40 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| sessionId | 39001 | SessionId | 0 | 16 | 0 | - |
| timestamp | 60 | Timestamp | 16 | 8 | 0 | - |
| keepaliveMs | 39007 | KeepaliveMs | 24 | 8 | 0 | - |
| nextSeqNo | 39008 | SeqNo | 32 | 8 | 0 | - |
Variable field credentials (ID 39003) follows the fixed content: little-endian uint16 UTF-8 byte length, then exactly that many bytes.
EstablishmentAck (template 104)
Available since schema version 0. Fixed block: 40 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| sessionId | 39001 | SessionId | 0 | 16 | 0 | - |
| requestTimestamp | 39004 | Timestamp | 16 | 8 | 0 | - |
| keepaliveMs | 39007 | KeepaliveMs | 24 | 8 | 0 | - |
| nextSeqNo | 39008 | SeqNo | 32 | 8 | 0 | - |
EstablishmentReject (template 105)
Available since schema version 0. Fixed block: 25 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| sessionId | 39001 | SessionId | 0 | 16 | 0 | - |
| requestTimestamp | 39004 | Timestamp | 16 | 8 | 0 | - |
| code | 39009 | EstablishmentRejectCode | 24 | 1 | 0 | - |
Variable field reason (ID 58) follows the fixed content: little-endian uint16 UTF-8 byte length, then exactly that many bytes.
Sequence (template 106)
Available since schema version 0. Fixed block: 8 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| nextSeqNo | 39008 | SeqNo | 0 | 8 | 0 | - |
RetransmitRequest (template 107)
Available since schema version 0. Fixed block: 40 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| sessionId | 39001 | SessionId | 0 | 16 | 0 | - |
| timestamp | 60 | Timestamp | 16 | 8 | 0 | - |
| fromSeqNo | 39010 | SeqNo | 24 | 8 | 0 | - |
| count | 39011 | SeqNo | 32 | 8 | 0 | - |
Retransmission (template 108)
Available since schema version 0. Fixed block: 40 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| sessionId | 39001 | SessionId | 0 | 16 | 0 | - |
| requestTimestamp | 39004 | Timestamp | 16 | 8 | 0 | - |
| nextSeqNo | 39008 | SeqNo | 24 | 8 | 0 | - |
| count | 39011 | SeqNo | 32 | 8 | 0 | - |
Terminate (template 109)
Available since schema version 0. Fixed block: 17 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| sessionId | 39001 | SessionId | 0 | 16 | 0 | - |
| code | 39012 | TerminationCode | 16 | 1 | 0 | - |
Variable field reason (ID 58) follows the fixed content: little-endian uint16 UTF-8 byte length, then exactly that many bytes.
FinishedSending (template 110)
Available since schema version 0. Fixed block: 8 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.
| Field | ID | Type | Offset | Bytes | Since version | Null value |
|---|
| nextSeqNo | 39008 | SeqNo | 0 | 8 | 0 | - |
FinishedReceiving (template 111)
Available since schema version 0. Fixed block: 0 bytes. Offsets are relative to this block, excluding SOFH and SBE headers.