403 Forbidden Error on Binance API Requests from DigitalOcean Droplets

403 Forbidden Error on Binance API Requests from DigitalOcean Droplets

Dear Binance Community,

I am experiencing persistent 403 Forbidden errors when attempting to access the Binance API from two separate DigitalOcean droplets located in Singapore and Australia. Below are the details of the issue:

Issue Details:

  • Error Message:
    "403 ERROR: The request could not be satisfied.
    Bad request.
    We can’t connect to the server for this app or website at this time.
    There might be too much traffic or a configuration error.
    Try again later, or contact the app or website owner.

    Generated by CloudFront (CloudFront)"

  • Request Method: [GET/POST] (specify)

  • Endpoints Accessed: [e.g., /api/v3/account, /api/v3/exchangeInfo] (specify exact endpoints)

  • HTTP Headers:

    • User-Agent: [Your bot or script’s user-agent]
    • Authorization: [API Key or Bearer Token]
    • Content-Type: [application/json]

Troubleshooting Performed:

  1. I verified the API requests from my local ISP, and they are working fine. However, the issue with my local ISP is that it uses dynamic IP addresses, making it unsuitable for my bot’s continuous operation.
  2. I tested using different droplets in DigitalOcean, but the issue persists across locations.
  3. The bot complies with Binance’s API rate limits and uses valid headers and authentication.

Question:

Could DigitalOcean’s IP ranges be blocked by Binance? If so, is there a recommended way to resolve this issue?

Your insights or guidance would be greatly appreciated. Please let me know if you need further details or logs for investigation.

Thank you!

Best Regards,
Rod