---
id: faq_item.1569
page_type: faq_article
title: "Moonbot terminal doesn't connect to an exchange and writes API key error, what do I do?"
description: "If the Moonbot terminal does not connect to the exchange and you see in the Settings - Login tab the inscription \"Enter correct API keys\" in the upper left corn..."
section: faq
category: "General errors"
url: https://moonbot.pro/faq/general-errors/1569?format=md
locale: en
alternate_ru: https://moonbot.pro/ru/faq/general-errors/1569?format=md
alternate_zh: https://moonbot.pro/zh/faq/general-errors/1569?format=md
parent: https://moonbot.pro/faq/general-errors?format=md
previous: https://moonbot.pro/faq/general-errors/1568?format=md
next: https://moonbot.pro/faq/general-errors/1570?format=md
status: published
updated_at: 2026-11-20T00:24:05+03:00
---

# Moonbot terminal doesn't connect to an exchange and writes API key error, what do I do?

If the Moonbot terminal does not connect to the exchange and you see in the Settings - Login tab the inscription "Enter correct API keys" in the upper left corner, then this error may be due to several reasons:\
1\) You are incorrectly entering API keys in the corresponding fields API key and API secret on the Settings - Login tab.\
a) You are trying to enter API key data into the API secret field and vice versa. These data should be entered strictly in their own fields.\
b) When you try to copy API keys into the buffer only a part of them is copied, or you have caught an extra space in the buffer.\
2\) You are entering expired API keys, which exchanger might delete from your account.\
3\) Your account at the exchange got banned or API keys are present, but there are no ticks permitting trading on the spot or futures market. In addition, we recommend immediately check the presence of API keys in the white IP address from which the Moonbot terminal is allowed to trade.\
4\) You may have an antivirus installed on your computer, which blocks the connection of the Moonbot terminal to the Internet, in which case the Moonbot can not connect to the exchange.\
5\) You should also check the Internet connection, restart the router.\
6\) You should also check the setting of VPN and PROXY services, if you have them connected, perhaps they are blocking the connection between your computer and exchanger addresses.\
There are other reasons for this kind of error, for further advice, contact the Moon Bot Public Telegram group: [https://t.me/Moon_Bot_Public](https://t.me/Moon_Bot_Public)

## Navigation

Path: [Main](https://moonbot.pro/?format=md) / [FAQ](https://moonbot.pro/faq?format=md) / [General errors](https://moonbot.pro/faq/general-errors?format=md) / Moonbot terminal doesn't connect to an exchange and writes API key error, what do I do?

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

Previous: [I copied the Moonbot terminal, I want to enter new APIs, but I can't delete the old ones, pressing Delete, BackSpace to clear doesn't help, what do I do?](https://moonbot.pro/faq/general-errors/1568?format=md)

Next: [In the Moonbot terminal, the Start button constantly turns off and lights up green. It is impossible to trade, what to do?](https://moonbot.pro/faq/general-errors/1570?format=md)

## Related

- [In the Moonbot terminal, the Start button constantly turns off and lights up green. It is impossible to trade, what to do?](https://moonbot.pro/faq/general-errors/1570?format=md)
- [Sometimes a red "Clock Accuracy is BAD" sign appears at the bottom of the Moonbot terminal, what does it mean and how can I fix it?](https://moonbot.pro/faq/general-errors/1571?format=md)
- [The API load indicator is red, what do I do?](https://moonbot.pro/faq/general-errors/1572?format=md)
- [I have lost crosses (trades on the chart), what happens and how to fix it?](https://moonbot.pro/faq/general-errors/1573?format=md)
- [When I close and reopen the Moonbot terminal, all lines on the chart are erased, the session is reset, strategies are not saved. What is the problem?](https://moonbot.pro/faq/general-errors/1574?format=md)
