sammchardy / python-binance

Binance Exchange API python implementation for automated trading
https://python-binance.readthedocs.io/en/latest/
MIT License
6.02k stars 2.2k forks source link

Futures testnet api does not work.... #1198

Open mahdial opened 2 years ago

mahdial commented 2 years ago

Hi, Today this library give me this error :

Message=APIError(code=0): Invalid JSON error message from Binance:

502 Bad Gateway
502 Bad Gateway
nginx

But yesterday it worked

mahdial commented 2 years ago

Now it's ok again

halfelf commented 2 years ago

5xx response codes indicate server side error, not a client one.

pimpdev commented 2 years ago

I need a website that reflect status of servers will be valuable Today I have the same problem:

binance.exceptions.BinanceAPIException: APIError(code=0): Invalid JSON error message from Binance:

502 Bad Gateway
Acutapugione commented 11 months ago

.venv/lib/python3.10/site-packages/binance/client.py", line 368, in _handle_response raise BinanceAPIException(response, response.status_code, response.text) binance.exceptions.BinanceAPIException: APIError(code=0): Invalid JSON error message from Binance:

502 Bad Gateway

502 Bad Gateway


nginx