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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
