> 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="https://1622618539-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu5MsmgByOphqxTTWOcAG%2Fuploads%2FkjEm1APIwVjTtuYx6wE4%2Fkraken.PNG?alt=media&amp;token=3c614970-ffd1-4e47-affc-536cf96174b2" 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="https://1622618539-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu5MsmgByOphqxTTWOcAG%2Fuploads%2FAyoV9teZGicENppAORZa%2Fmexcapi.PNG?alt=media&amp;token=50f1ddd2-90ae-4e17-9f09-2afba1f9465a" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1622618539-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu5MsmgByOphqxTTWOcAG%2Fuploads%2FRQXjBvxqYJGMsn6Got1n%2Fwl.PNG?alt=media&amp;token=d8967e62-1c6f-476c-b1ad-0714163625eb" 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>
