Skip to main content
All CollectionsExchanges & APIAPI Issues
Troubleshoot API Connection Issues
Troubleshoot API Connection Issues

Encountering API connection issues or invalid API key errors? Here's a comprehensive guide to identifying and resolving these problems.

Updated over 2 weeks ago

Common Reasons for API Connection Issues

1. KYC and API Key Permissions

  • Ensure you have completed KYC verification with your exchange.

  • Verify the required API key permissions in your exchange account settings:

2. IP Whitelisting Requirements

  • Most exchanges now require IP whitelisting for API keys.

  • If your API connection fails:

    • Update your API keys and add the required IP addresses to the whitelist on your exchange.

    • If updating the whitelist doesn’t resolve the issue, create new API keys with the IP whitelist and reconnect them.

  • A complete list of required IP addresses for 3Commas is available here: What IPs does 3Commas use?.

3. Duplicate API Connections

  • 3Commas does not support connecting the same exchange account multiple times.

  • Duplicate API connections can cause errors or display incorrect balances.

How to resolve duplicate connections:

  1. Go to the My Portfolio page in 3Commas.

  2. Identify duplicate exchange connections and click the three-dots menu to delete duplicates.

    • If deletion fails, ensure all active trades on the duplicate account are closed or canceled.

  3. Rename one of the accounts to identify the duplicate if needed.

For further details, see this guide: Update connected exchange account.

4. Temporary Communication Issues

  • Sometimes, API errors are caused by temporary communication glitches between 3Commas and the exchange.

  • These issues often resolve themselves and do not impact trades.

What to do:

  • Go to the My Portfolio page and click the refresh button next to the exchange account. If the issue persists, proceed to update the API keys.


Need Further Assistance?

If none of the above solutions resolve your issue, contact 3Commas support for personalized assistance:

For additional troubleshooting, see:

Did this answer your question?