Closed vanbroup closed 6 years ago
Addressing in https://github.com/cloudflare/logshare/pull/24
@vanbroup - I've just tagged v1.4.2 (https://github.com/cloudflare/logshare/releases/tag/v1.4.2) which will incorporate this improvement. Thanks for raising.
The function
GetFromTimestamp
does now return the errorHTTP status 400: request failed
on almost any error. It would be useful if this would return the error represented in the Cloudflare response instead.Where my script that was pulling log files for ranges of
5 hours
was running fine until yesterday, now it started to return an errorHTTP status 400: request failed
. The enterprise support was not helpful at all in this case. After replaying the request withcurl
we found out that the time limit was reduced significantly to59 minutes
as that included the following error message:bad query: error parsing time: invalid time range: too long