> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kraken.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NegotiationReject

> Session schema, template 3

<div className="api-banner">
  <span className="api-protocol ws">SBE</span>
  <span className="api-detail">schema 33 · session</span>
  <span className="api-tag">template 3</span>
</div>

Rejects a negotiation. `code` gives the reason and `reason` the detail.

**Direction:** Kraken → client

| ID | Field | Type | Encoding | Presence | Description |
| :- | :- | :- | :- | :- | :- |
| 1 | `sessionId` | [`SessionId`](/exchange/api-reference/sbe/session-types#sessionid) | field | required | |
| 2 | `requestTimestampNs` | [`TimestampNs`](/exchange/api-reference/sbe/session-types#timestampns) | field | required | |
| 3 | `serverTimestampNs` | [`TimestampNs`](/exchange/api-reference/sbe/session-types#timestampns) | field | required | |
| 4 | `code` | [`NegotiationRejectCode`](/exchange/api-reference/sbe/session-types#negotiationrejectcode) | field | required | |
| 5 | `reason` | [`VarStringEncoding`](/exchange/api-reference/sbe/session-types#varstringencoding) | var data | required | |

Every message is preceded by the standard SBE `messageHeader` (`blockLength`, `templateId`, `schemaId`, `version`). See [encodings](/exchange/api-reference/sbe/session-types#messageheader).
