Workato · Parsers
XML parsing error
Short answer
The 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.
VerifiedLast verified
01Error text
err.data_format.xml_parsing_error02Likely causes
- The XML payload has an invalid tag or does not match the schema.
- The XML contains unescaped
<or>characters, or backslashes that were not handled with care.
03How to fix it
- Open the failed job and get the XML that was passed to the parser step.
- Validate the source data, and escape any
<or>characters inside values. - Follow XML rules, and set up the parser step with a representative sample document so the schema matches real data.
- 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
- JSON parsing errorThe 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.
- 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.
- 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