---
url: /errors/orders_in_flight_on_compartment.md
---
# `ORDERS_IN_FLIGHT_ON_COMPARTMENT`

## Description

The source compartment or the target compartment has orders that are not settled.

## HTTP Status

`422 Unprocessable Entity`

## `doc_url` Format

`<docs-base-url>/errors/orders_in_flight_on_compartment`

## Typical Cause

For one instrument, the post-trade shares and the post-settlement shares of the compartment are different. An order is sent and is not settled yet.

## How To Fix

Wait until the orders of the compartment are settled, then send the request again.
