A
A
Amgamg2018-11-22 13:09:11
API
Amgamg, 2018-11-22 13:09:11

Why does the same error occur at a certain time from the Binance exchange via api?

Every day at 22:00 UTC, when requesting order information on Binance, I get an error:
{ "name": "FetchError", "message": "invalid json response body at https://api.binance.com/api /v3/order?symbol=[symbo... reason: Unexpected token < in JSON at position 0", "type": "invalid-json" }
But the rest of the time everything is fine, no such errors. For requests, binance-api-node is used, the server runs on node.js

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shmatuan, 2018-11-22
@shmatuan

Unexpected token < in JSON at position 0

Most likely because the html page comes with 404/500 or similar

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question