> For the complete documentation index, see [llms.txt](https://docs.hollaex.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hollaex.com/advanced/exchange-keys/exchange-api-keys-troubleshoot.md).

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