Spot API Connection Error Code: 2015

Hi, I have been running a live trading bot from a Raspberry Pi 4 using Binance API. Since yesterday morning, the telegram bot (used to control the trades) stopped responding to commands. I checked the Pi and the trader had stopped due to a connection error. Here it is:

ccxt.base.errors.AuthenticationError: binance {“code”:-2015,“msg”:“Invalid API-key, IP, or permissions for action.”}
2024-02-08 22:31:11,913 - freqtrade.commands.trade_commands - ERROR - Could not load markets, therefore cannot start. Please investigate the above error for more details.


  1. in the API manager on Binance: checked the IP addresses and all permissions for live trading are correct.
  2. deleted, recreated and configured a new API but still get the same error.

I have another API for paper trading (no real money) which is running fine. but the moment I use the API keys for the live trading bot I get the same error message.

Can you please advice?

Note: I am not on a VPN or firewall. I am using the Freqtrade system to trade. Does this issue have anything to do with the Pi sitting in India?

I recommend reaching out to customer support to address and resolve your issue.