> ## 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.

# Order Cancel Reject

> Response message used to reject invalid order cancel or cancel/replace requests.

The OrderCancelReject message is used to reject invalid cancel or cancel/replace requests.

<Tabs>
  <Tab title="FIX Specification">
    <ParamField path="header" type="" required> MsgType <code>9</code> </ParamField>

    <ParamField path="11 - ClOrdID" type="string" required>
      ClOrdID(11) which could not be canceled/replaced.
    </ParamField>

    <ParamField path="41 - OrigClOrdID" type="string" required>
      ClOrdID of the previous accepted order.
    </ParamField>

    <ParamField path="37 - OrderID" type="string" required>
      Unique identifier of most recent order as assigned by Customer. If CxlRejReason="Unknown order", then will be "NONE".
    </ParamField>

    <ParamField path="60 - TransactTime" type="string">
      Business timestamp for this reject. Format: YYYYMMDD-HH:MM:SS.uuu
    </ParamField>

    <ParamField path="39 - OrdStatus" type="integer" required>
      Identifies current status of order.

      <ul>
        <b>Possible values: </b>
        <li><code>0</code> : New</li>
        <li><code>1</code> : Partially filled</li>
        <li><code>2</code> : Filled</li>
        <li><code>4</code> : Canceled</li>
        <li><code>6</code> : Pending Cancel (i.e. result of Order Cancel Request)</li>
        <li><code>8</code> : Rejected</li>
        <li><code>A</code> : Pending New</li>
        <li><code>E</code> : Pending Replace (i.e. result of Order Cancel/Replace Request)</li>
      </ul>
    </ParamField>

    <ParamField path="434 - CxlRejResponseTo" type="integer" required>
      Identifies the type of request that a Cancel Reject is in response to.

      <ul>
        <b>Possible values: </b>
        <li><code>1</code> : Order cancel request</li>
        <li><code>2</code> : Order cancel/replace request</li>
      </ul>
    </ParamField>

    <ParamField path="102 - CxlRejReason" type="integer">
      Code to identify reason for cancel rejection.

      <ul>
        <b>Possible values: </b>
        <li><code>0</code> : Too late to cancel</li>
        <li><code>1</code> : Unknown order</li>
        <li><code>2</code> : Broker / Exchange Option</li>
        <li><code>3</code> : Order already in Pending Cancel or Pending Replace status</li>
      </ul>
    </ParamField>

    <ParamField path="58 - Text" type="string">
      Free-format text string.
    </ParamField>

    <ParamField path="trailer" type="" required />
  </Tab>
</Tabs>
