Hephyrius / binance_futures_bot

A bot that trades leveraged USDT futures markets on binance.
299 stars 123 forks source link

Binance API Error Started at 31 May 2022 5:15AM UTC #39

Open githubUser101010 opened 2 years ago

githubUser101010 commented 2 years ago

Started receiving this error today out of nowhere when calling candle stick data from Binance API. Are there any updates I should know of? Anyone having the same problem?

Error:

raise JSONDecodeError(“Expecting value”, s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Necipking66 commented 2 years ago

Same issue also!

It is also stated here : https://t.me/binance_api_english and there is a temporary fix but i didn't try it.

Sanaikimdojin commented 2 years ago

settings.json

"api_url" : "https://fapi.binance.com/" = X

"api_url" : "https://fapi.binance.com" = O

From the 31st, there will be one more / after the url.

If I delete the / after the old url, it works fine.