# Exchange API Keys Troubleshoot

Exchange API Keys are something getting managed by the HollaEx Kit and CLI. There should be no issue with it for most use cases.&#x20;

But if you noticed that you are getting an error like the below and the exchange stopped functioning, that will be something highly related to the API key.

```
403 - {"message": "Access Denied: Invalid API Key"}
```

On this page, we will go through and see how to reset the Exchange API Keys and reapply them on your exchange.

### How to reset the Exchange API Keys

```
hollaex toolbox --reset_hmac_token
hollaex server --restart
```

This command will revoke your current Exchange API Keys, and generate a new one. Make sure to restart your exchange afterward to fully apply the value changes.

```
hollaex toolbox --set_activation_code
hollaex server --restart
```

This command will apply the new exchange API keys with a few other values (exchange activation code, etc) on your exchange. If there's a command prompt that asks for you to type something, you could simply press the enter key since you already when through the revoke / reapply command above.

Make sure to restart the server afterward.


---

# 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://docs.hollaex.com/advanced/exchange-keys/exchange-api-keys-troubleshoot.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.
