XML Syntax error

What is happening

We encountered an invalid XML file and couldn't process your data.

From our experience, this issue is usually caused either by a real syntax error that makes the file invalid, or by a premature end of the file when the server provides only part of the feed. This can occur if we begin downloading the feed while it is still being regenerated.

How do I resolve the issue

Please ensure that your data contains only valid, well-formed XML files.

There are two ways to do so:

  1. Use a trusted online XML validator

  2. Validate the format locally using tools such as xmllint and a trusted command-line validator

    Start by downloading the feed using wget. Try to open it using xmllint with the command xmllint --format feed | less.

What's next:
❌ XML is invalid (error found)

To examine the data further, if necessary, open the feed in a text editor, navigate to the line number indicated in the log, and look for issues such as a missing > or an unclosed or mismatched tag (e.g., an opening <font_color> without a corresponding </font_color>).

Make sure to fix the error accordingly.

βœ… XML is valid (no errors)

This most likely means that we are downloading the data while the server is regenerating the document and it ends prematurely. We recommend adjusting the synchronization schedule under Catalog β†’ Feed Planning, and planning the sync times outside of the feed-generation window (with a buffer) to avoid overlap.

Additional resources: