You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I make an overload test, calling getOrderById too many times in shot amount of time, i can't catch request limit error.
My intention is to catch this error, wait 10 seconds or more and retry the request.
But using a Try-Catch block to make this happen I get always next error:
FetchError: invalid json response body at https://api.kucoin.com/api/v1/orders/62d99d248d3eb700016140dc? reason: Unexpected token < in JSON at position 0
I was digging into the createHttp lib, I think this can be the problem
Our backend system has a strict rate-limiting policy. Please refer to it here: https://www.kucoin.com/docs/basic-info/request-rate-limit/rest-api. Currently, rate-limiting information is not passed to the caller (in the headers), but we plan to include this in future iterations
When I make an overload test, calling getOrderById too many times in shot amount of time, i can't catch request limit error.
My intention is to catch this error, wait 10 seconds or more and retry the request.
But using a Try-Catch block to make this happen I get always next error:
FetchError: invalid json response body at https://api.kucoin.com/api/v1/orders/62d99d248d3eb700016140dc? reason: Unexpected token < in JSON at position 0
I was digging into the createHttp lib, I think this can be the problem
kucoin-node-sdk/src/lib/createHttp.js
Line 92 in 8a79c5d
Can anyone give me some help on this?
The text was updated successfully, but these errors were encountered: