# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://robotrade-ai.gitbook.io/untitled/guides/api-troubleshooting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
