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

Workato error
err.data_format.xml_parsing_error

02Likely 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

  1. Open the failed job and get the XML that was passed to the parser step.
  2. Validate the source data, and escape any < or > characters inside values.
  3. Follow XML rules, and set up the parser step with a representative sample document so the schema matches real data.
  4. Use the error_type_id to target this failure in a Monitor actions for error block, so the recipe can handle it without parsing the error message.

04Official documentation

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

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.