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
Getting error when trying to upload a csv file with FileInputUpload #175
Comments
@mkit I'm not able to reproduce this, can you post your code? |
I have the following component:
That is used in (it is instantiated and member of the array: componentViews):
|
surprisingly retriveFile is not working for me anymore, WebSocket message is sent from browser correctly also in CSV case, but somehow nothing is being hit in the retriveFile |
Hi, I have the same issue, and here is my log from the Kweb backend. Looks like the JSON decoder expects a "string literal with quotes" on the Unfortunately, I have no experience with kotlinx serialization but maybe this helps someone. ;)
Using:
|
Describe the bug
Getting this error when uploading a CSV file:
14:12:32.529 [qtp897074030-43] ERROR kweb.Kweb - Exception while receiving websocket message
kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 38148: Expected string literal with quotes.
Use 'isLenient = true' in 'Json {}` builder to accept non-compliant JSON.
To Reproduce
Try to use the component with CSV files
Expected behavior
The file content is uploaded and no error is printed
The text was updated successfully, but these errors were encountered: