> For the complete documentation index, see [llms.txt](https://robotrade-ai.gitbook.io/untitled/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://robotrade-ai.gitbook.io/untitled/guides/api-troubleshooting.md).

# API Troubleshooting

## **Kraken:**

**Please setup your API key like this:**

<figure><img src="/files/68QwAzYSs9FdqMfIJfke" alt=""><figcaption></figcaption></figure>

**Common Errors**     &#x20;

&#x20;*"error": "An error occurred: kraken {\\"error\\":\[\\"EAccount:Invalid permissions:USDT trading restricted for  \_\_\_\_\_\_\_\_\\"]}"*

Kraken banned USDT in some countries

&#x20;   *"error": "An error occurred: kraken {\\"error\\":\[\\"EGeneral:Permission denied\\"]}",*

Set permissions as shown in above photo.

<br>

## **MEXC**

**Please setup your API key like this:**

<figure><img src="/files/HhpK0ax5owIOjlxlamQU" alt=""><figcaption></figcaption></figure>

**IF YOU USE MEXC TO AUTOMATED TRADE, YOUR SELECTED PAIR MUST BE IN HERE**

<figure><img src="/files/99aiekO6whQdmQTJCzVc" alt=""><figcaption></figcaption></figure>

**Common Errors**   &#x20;

*"error": "An error occurred: mexc {\\"code\\":10004,\\"msg\\":\\"symbol not support api\\"}"*<br>

MEXC whitelists certain symbols and a lot are not tradable via API.

&#x20;       *"error\_message": "mexc {\\"code\\":700006,\\"msg\\":\\"IP \[xxxxxxxxxx] not in the ip white list\\"}"*

Make sure to setup API as above, do not use a whitelist for IPs

<br>

<br>
