Workato · Parsers
JSON parsing error
Short answer
The Workato error type err.data_format.json_parsing_error means a JSON payload could not be parsed because of an invalid format or an unescaped character. Validate the source data and fix the document before it reaches the parser step.
VerifiedLast verified
01Error text
err.data_format.json_parsing_error02Likely causes
- The JSON payload has an invalid format or contains an unescaped character.
- The input data does not match the format the parser expects.
03How to fix it
- Open the failed job and copy the input that was passed to the parser step.
- Validate that source data. The docs suggest a text editor such as Notepad++ or Sublime Text for on-prem data.
- Correct the system or step that produces the JSON so that special characters are escaped and the structure is valid.
- Use the
error_type_idto target this failure in a Monitor actions for error block, so the recipe can handle it without parsing the error message.
04Official documentation
→Related errors
- CSV parsing errorThe Workato error type err.data_format.csv_parsing_error means CSV content could not be parsed because of a malformed structure or an invalid delimiter. Check the file for stray delimiters, such as commas inside values, and correct the source.
- XML parsing errorThe Workato error type err.data_format.xml_parsing_error means an XML payload could not be parsed because of an invalid tag or a schema mismatch. Escape special characters in the XML and make sure the document matches the sample the step was set up with.
- Error generating schema for responseError generating schema for response appears in Workato's webhook setup when the Content-Type header of the webhook does not match its payload. Have the sender fix the format, or skip the guided setup and define the payload schema manually.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Workato work:Open Workato jobsWorkato rates and salariesHire a senior Workato developer