-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deserialization error (JSON value could not be converted to System.Int32) #759
Comments
Just figured out a fix! Just needed to remove the quotes around the id number. And I changed it to: dont know anything about this stuff so im pretty hyped that I figured it out haha |
Was the json file created by an older version of TwitchDownloader? If so, this could be a problem for other users too. |
thanks, this solved my issue. It is a problem with json files generated by old TwitchDownloader. It should be noted in common errors. |
The user should not be expected to modify their json files. I will implement a fix in the deserializer. |
Until the next version is released, you may use this workflow build to avoid any future errors with old chats: https://github.com/lay295/TwitchDownloader/actions/runs/6438276408 |
Checklist
Edition
Windows GUI Application
Describe your issue here
When trying to render out the chat (only for a few older vods) I keep getting this error:
ERROR: The JSON value could not be converted to System.Int32. Path: $.id | LineNumber: 0 | BytePositionInLine: 36.
I tried the chat updater but it instantly crashes the application.
Any help is greatly appreciated!
Add any related files or extra information here
Here is a link to the json file: https://drive.google.com/file/d/1LNtvJDXowB3J_YaxwkmSvrVQF91LYVkx/view
The text was updated successfully, but these errors were encountered: