31
Views
3
Comments
[CSVUtil] Invalid server response
Question
csvutil
Service icon
Forge asset by Wei Zhu
Application Type
Service

Dear CSVUtils team, good day.

May I kindly ask on what does this error means "Invalid server response from ... Unexpected end of JSON input."

I have a record list that was converted by the ExportRecordList2CSVBinary server action. Binary data was successfully created and have saved it in an entity, This is part of the extract timer.

On the side of UI, once extract is done, it displays a Download button. Once the user invokes the download, that is the time that I encounter that error message.

Thank you in advance for your help.

Kind regards,

2022-03-10 08-26-10
Cristian Angel Puma Villalva

Good day!

Based on your description, it seems the platform or extension may not have been updated since 2014, which could be causing compatibility issues. I recommend two possible approaches:

  1. Search for an Alternative ExtensionExplore other extensions or libraries that provide similar functionality but are actively maintained and compatible with your platform version.

  2. Analyze and Patch the Existing CodeIf you prefer to stick with CSVUtils, review its implementation to understand how the code processes the binary data and generates the JSON response. Identifying and patching the issue could resolve the error you're encountering.

Let me know if you'd like further guidance on either of these options.

Best regards,

2024-10-25 09-14-42
Christopher Bautista

Hi Cristian,

Thanks for the reply, I have to change my approach by chunking the data instead.

Kind regards,

2021-06-21 12-37-59
Wei Zhu

Hi Christopher

According to the message, it seems there an error where someone try to parse JSON.
You know, CSVUtil just load / export CSV, not JSON.
So it think this error should not related to ExportRecordList2CSVBinary Action.

Because you didn't provide any other information (your OML , ErrorLog.xlsx)
So I'm not sure what is the root cause.
But usually we'll check Stack information of Error Log to find who raise exception first
For Example, following Stack show error occurred at
    - Module: Users
    - Flow: Common
    - Screen: Login
    - Action: Users_Login


Regards
Wei

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.