# Duplicate Orders Error

The Duplicate Orders Error occurs when a resting limit order in your brokerage platform duplicates or contradicts a bot's closing action order for the same position.

<figure><img src="https://cdn.prod.website-files.com/5fba23eb8789c3c7fcfb5f31/63fd00366ac37ee0190f4b77_Duplicat%20order%20rejection.png" alt="Duplicat order rejection"><figcaption></figcaption></figure>

For example, if there is already an order to exit a position, the broker won't accept an additional duplicate order.

To avoid the broker rejection error, it is best to allow bots to manage positions. If you prefer to take control of an active position in your brokerage platform, use the [manual override](https://optionalpha.com/help/managing-positions) to prevent the error when the bot attempts to close the position.
