Skip to main content

Troubleshooting 'Invalid License' Message in Gunbot

If you see an "INVALID LICENSE FOR BINANCE" (or any other exchange) message, follow this guide to resolve it and resume trading.

Info

The "Invalid License" message usually means your Gunbot license does not match the API key registered for the exchange, or the license does not cover that exchange.

Preparatory Step: Disable Trading

Before troubleshooting, put Gunbot in a safe mode so you can access the interface without connecting to exchanges:

  1. Open the config.js file using a text editor like Notepad.
  2. Search for the line "start": true, (in the GUI section, near the bottom of the file)
  3. Change it to "start": false,

This adjustment keeps Gunbot non-operational while you make changes.

Resolution Path 1: Removing Trading Pairs

If you want to discontinue trading on the exchange that caused the error, follow these steps:

  1. Navigate to the trading settings page in Gunbot.
  2. Remove every trading pair for the exchange that appeared in the license error message.

This action will prevent Gunbot from attempting to access the problematic exchange.

Resolution Path 2: Registering a New API Key

If you want to continue trading on the exchange involved in the error, register the API key. Since Gunbot release v28, the process of managing API credentials has been streamlined:

  1. Ensure you are using the latest Gunbot release (v28 or later).
  2. Go to the Manage API Slots page in Gunbot.
  3. Register a new API key for the desired exchange. You will also be prompted to enter your API secret to establish a connection to the exchange.

Once completed, Gunbot should be able to interact with the exchange without the license error.

Troubleshooting: When You Can't Resolve

If you cannot register a new API key, you may not have a working key in your license to authenticate the change. Contact Gunbot support for assistance.