---
id: faq_item.1653
page_type: faq_article
title: "I have a terminal Moonbot on the Gate exchange gets up on API errors and in the log there is a record like Set Buy order: FAIL; [400 CONTRACT_IN_DELISTING] how to fix the situation?"
description: "Such a log entry indicates that the API has not yet deleted information about a token that has already been removed from the exchange, and Moonbot terminal trie..."
section: faq
category: "Log errors"
url: https://moonbot.pro/faq/log-errors/1653?format=md
locale: en
alternate_ru: https://moonbot.pro/ru/faq/log-errors/1653?format=md
alternate_zh: https://moonbot.pro/zh/faq/log-errors/1653?format=md
parent: https://moonbot.pro/faq/log-errors?format=md
previous: https://moonbot.pro/faq/log-errors/1652?format=md
next: https://moonbot.pro/faq/log-errors/1654?format=md
status: published
updated_at: 2026-11-17T23:07:28+03:00
---

# I have a terminal Moonbot on the Gate exchange gets up on API errors and in the log there is a record like Set Buy order: FAIL; [400 CONTRACT_IN_DELISTING] how to fix the situation?

Such a log entry indicates that the API has not yet deleted information about a token that has already been removed from the exchange, and Moonbot terminal tries to place an order on the nonexistent token, gives a series of errors and gets protected by the API limit. In the latest version of the Moonbot terminal, when a CONTRACT_IN_DELISTING error occurs in the log, a 30-second penalty is now automatically applied to this market to avoid exceeding the API limit. We recommend that you update your Moonbot terminal version to an up-to-date one.

## Navigation

Path: [Main](https://moonbot.pro/?format=md) / [FAQ](https://moonbot.pro/faq?format=md) / [Log errors](https://moonbot.pro/faq/log-errors?format=md) / I have a terminal Moonbot on the Gate exchange gets up on API errors and in the log there is a record like Set Buy order: FAIL; \[400 CONTRACT_IN_DELISTING\] how to fix the situation?

Parent section: [Log errors](https://moonbot.pro/faq/log-errors?format=md)

Previous: [I have not placed orders, and in the log I found this error: {"code":-1022, "msg": "Signature for this request is not valid."}, what does it mean?](https://moonbot.pro/faq/log-errors/1652?format=md)

Next: [I have both long and short orders set up in the Moonbot terminal, but after placing an order in long position, short orders are not placed and the log shows the following entry: Market XXX is opened in Long position, how can I fix this?](https://moonbot.pro/faq/log-errors/1654?format=md)

## Related

- [I have both long and short orders set up in the Moonbot terminal, but after placing an order in long position, short orders are not placed and the log shows the following entry: Market XXX is opened in Long position, how can I fix this?](https://moonbot.pro/faq/log-errors/1654?format=md)
- [When registering API keys in the Moonbot terminal, the following error appears in the log: AuthCheck error! TryCount=3 Works only with UTA Accounts! (ok) resp: \[200\], how can I fix it?](https://moonbot.pro/faq/log-errors/1655?format=md)
- [When receiving webhook signals in the log there is a record like: MARKET FOUND BUT ONLY 1 CHAT !, how to fix it?](https://moonbot.pro/faq/log-errors/1656?format=md)
- [I saw an entry like:Status: 400 This symbol is not allowed for this account, what does it mean?](https://moonbot.pro/faq/log-errors/1657?format=md)
- [When trading on Moonbot spot terminal for Bybit exchange, I saw the following entry in the log: USDT-SUI Set Buy order: FAIL; {“retCode”:170241, “retMsg”: “To proceed with trading, users must read through and confirm that they fully understand the project's risk disclosure document. For App users, please update your Bybit App to version 4.16.0 to process.”, what does this do?](https://moonbot.pro/faq/log-errors/1658?format=md)
