cloudflare / cloudflare/logshare

"Error Streaming Data" appending to end of JSON response

Open
#40 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
81
Forks
23
PR merge metrics
No merged PRs in 30d

Description

I am getting a few hundred thousand records per some unit time fetching around a minutes worth of data at a time.
Maybe once every three days or so I get a JSON response along the lines of

(a few thousand JSON records)
{the last JSON record ..."WorkerSubrequestCount":0,"ZoneID":277273}
Error Streaming Data

The 'Error Streaming Data' is outside the JSON blocks and just tacked on to the end.
Any idea what it means and how my code should respond to it?

At the moment if I get a response with that string tacked on the end, I toss the block and ask for it again.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.