Error while reading stream: The input does not contain any JSON tokens
See original GitHub issueDescribe 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:
- Created a year ago
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Should be fine in 0.11.4 when the nuget package is published (takes a few minutes)
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