question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error while reading stream: The input does not contain any JSON tokens

See original GitHub issue

Describe the bug

We are using Eventuous and EventStore Cloud. After updating Eventuous we get the following error

"Unable to read events from Qualification-11734: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0."

Locally I’m running the code using Eventuous against a single ESDB instance running 21.10.5.0. Our ESDB cluster version is 21.10.4.0.

Interestingly I had the same issue locally, for some time, as I downgraded the ESDB version (from 22.x to 21.10.5.0) for debugging this. Then I switched Eventuous version to 0.10.x and up again. Locally I’m now run Eventuous 0.11.3 against ESDB 21.10.5.0.

Using Eventuous 0.11.3 against the ESDB cloud version (21.10.4.0) still shows the error above.

Any idea or hint what can cause this?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
alexeyzimarevcommented, Sep 30, 2022

Should be fine in 0.11.4 when the nuget package is published (takes a few minutes)

0reactions
devploymentcommented, Sep 30, 2022

Here is a quickly bugled up test showing it failing.

https://github.com/devployment/Eventuous.MetadataTest

And yes, it is an empty array, read directly from the EventStoreClient

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

The input does not contain any JSON tokens ...
Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true....
Read more >
In async the System.Text.Json throw "The input does not ...
In async the System.Text.Json throw "The input does not contain any JSON tokens. Expected the input to start with a valid JSON token,...
Read more >
The input does not contain any JSON tokens.
Hi, I received the message in picture below when I want to rendering the datagrid in sidepanel. I can't display the Action table....
Read more >
What Is JSON and How to Handle an “Unexpected Token” ...
Learn what JSON is and how you can deal with errors occurring when parsing JSON data, such as "Unexpected Token < in JSON...
Read more >
Could not parse the JSON file : r/jellyfin
JsonReaderException : The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found