Try it

The most common feed errors and how to fix them

Sortyra team · · 8 min read

The most common feed errors are invalid XML, missing required details (price, image, EAN), price or availability that doesn't match the shop, and broken links. The channel then rejects the product or doesn't show it. You will find most errors in the channel's diagnostics and can fix them directly in the data source or with a rule in the feed.

Why errors appear in feeds

A feed is like a form you fill in for every product and send to an authority. The authority (a comparison site, Google, a marketplace) has precise requirements: which boxes are mandatory, what goes in them and in what format. One box filled in wrongly and the form comes back.

Errors most often arise in three places:

  • In the data source – the shop is missing an EAN, a product has no image, a supplier has sent an empty price.
  • When converting to the channel's format – a field has been mapped incorrectly, or a value is in a different format from the one the channel expects.
  • On delivery – the feed cannot be downloaded, is too large or is out of date.

How to find errors

  1. The channel's diagnostics. Google Merchant Center, comparison sites and marketplaces all show an overview of rejected products and the reasons in their admin. Always start here.
  2. Open the feed in a browser. If the XML won't open or the browser reports an error, the problem lies in how the file itself is written.
  3. Look at one specific product. Find the problem product in the feed by its code and compare the details with its page in your shop.
  4. Compare with the previous version. If everything worked and suddenly doesn't, something in the feed has changed – for example, the supplier has changed its structure.

Errors in how the file is written

Invalid XML

  • Symptom: the channel reports that it cannot load the feed, or it processes only some of the products.
  • Cause: most often an & or < character in the text, an unclosed element or a forbidden control character copied from a text editor.
  • Fix: special characters must be written as &amp; and &lt;, or the whole text placed in a CDATA block:
<!-- wrong -->
<PRODUCTNAME>Horalka Duo tent & tarp</PRODUCTNAME>

<!-- correct -->
<PRODUCTNAME>Horalka Duo tent &amp; tarp</PRODUCTNAME>
<DESCRIPTION><![CDATA[<p>Tent & tarp in one pack.</p>]]></DESCRIPTION>

Wrong character encoding

  • Symptom: instead of “Café” you see “Café” or question marks.
  • Cause: the file is saved in a different encoding (for example windows-1250) from the one stated in its header, or from the one the channel expects.
  • Fix: use UTF-8 encoding and state it in the XML header too: <?xml version="1.0" encoding="UTF-8"?>.

Wrong separator in a CSV

  • Symptom: all the data ends up in one column, or a description is split across several columns.
  • Cause: the channel expects a comma but the file uses a semicolon, or the text contains the separator without quotation marks.
  • Fix: use the separator given in the specification, and put any text containing the separator or a line break in quotation marks. We explain the differences between formats in Feed types.

Missing or incorrect data

A required field is missing

  • Symptom: “missing price”, “missing image”, “missing title”.
  • Cause: the detail really is missing in the source, or it wasn't mapped to the right field.
  • Fix: add the detail in the source, or fill it in with a rule (for example, the manufacturer for all products from one supplier). Hide products that can't be completed from the output for that channel.

Invalid EAN

  • Symptom: “invalid GTIN”, the product isn't matched.
  • Cause: the code has the wrong number of digits or a wrong check digit, has lost its leading zeros in a spreadsheet program, or is the shop's internal code.
  • Fix: correct the EAN using the packaging or the manufacturer's documentation. If you don't have it, leave the field empty – never make one up. More in EAN, GTIN, MPN and product codes.

Wrong price format

  • Symptom: an absurdly high or zero price, “invalid price”.
  • Cause: a decimal comma instead of a decimal point, a thousands separator, a currency symbol inside the number or a missing currency code.
  • Fix: write the price as 89.90 and the currency as the channel requires, for example 89.90 EUR. Details in Price, VAT and currency in a feed.

Invalid availability value

  • Symptom: “invalid value for availability”.
  • Cause: text from the shop (“In stock – ships within 24 h”) has ended up in the field instead of an allowed value.
  • Fix: use a conversion table to change your own wording into the channel's values, for example “In stock” → in_stock.

Title or description too long

  • Symptom: the text is cut off or the channel reports that the length limit has been exceeded.
  • Cause: Google, for example, accepts a title of at most 150 characters and a description of at most 5,000 characters.
  • Fix: put the important information at the start of the title and shorten long texts.

HTML and clutter in the description

  • Symptom: the description on the comparison site shows <br>, &nbsp; or headings such as “Product description:”.
  • Fix: remove HTML tags where the channel doesn't support them and clean out repeated phrases.

Duplicate product codes

  • Symptom: the channel reports duplicate items, or some products are missing.
  • Cause: two products have the same code – this often happens when feeds from several suppliers are combined.
  • Fix: every product and every variant must have a unique, stable code. With several suppliers, a prefix helps (for example A- and B-).

Mismatch with the shop

Price or availability differs from the website

  • Symptom: Google reports a price or availability mismatch, and the product is disapproved.
  • Cause: an out-of-date feed, a promotion that runs only on the website, a price in the feed with a different VAT rate.
  • Fix: align the data source and update the feed more often (see How often to update a feed).
  • Symptom: “page unavailable”, “image could not be downloaded”.
  • Cause: a changed address, a deleted product, a missing domain in an incomplete address, or automatic downloads being blocked.
  • Fix: correct the addresses, use full links starting with https:// and allow the channel access.

Prohibited content

  • Symptom: the product is disapproved for a policy violation.
  • Cause: goods that the channel doesn't allow or restricts, or misleading claims in the title.
  • Fix: hide the product from the output for that channel, or edit the text to comply with the channel's policies.

Errors when delivering the feed

  • The feed can't be downloaded – the server returns an error, requires a login or blocks robots. Check the address in a private (incognito) browser window.
  • The feed is too large – downloading takes too long and the channel gives up. Compression (if the channel supports it) or splitting the feed helps.
  • Empty or incomplete feed – caused by a supplier error or by a problem while the file was being written. Check the number of products before publishing.
  • The channel has stopped downloading the feed – the address or the channel settings have changed. Keep an eye on when the channel last downloaded the feed.

Quick overview

ErrorMost common fix
invalid XML&amp; or CDATA, UTF-8 encoding
missing price, image, titleadd it in the source or hide the product
invalid EANcorrect it from the packaging, never make one up
price and availability mismatchupdate more often, one data source
invalid availabilityconversion table to the channel's values
broken linkfull addresses with https://

How Sortyra helps

Sortyra checks every output against the channel's requirements before publishing – required fields, price and availability format, images and EAN. In the output detail in the Outputs and channels section, the Quality check card shows how many products are missing details and how to fix that, with a link to a suitable rule recipe; the Rejected by channel figure shows what the channel rejected. A product with an error doesn't get into the output until you fix it, and you get an alert if the number of products suddenly drops or a supplier's feed structure changes. Find out more on the Quality check page.

Frequently asked questions

Why is Google Merchant Center rejecting my feed?

Most often because of missing required details, an invalid GTIN, a price or availability that doesn't match the product page, or an unsuitable image. You will find the exact reason for each product in the Merchant Center diagnostics.

How can I tell whether my XML feed is valid?

Open the feed address in a browser – if the XML contains a syntax error, the browser usually shows it together with the line number. For a detailed check you can use any XML validator.

What does the “invalid GTIN” error mean?

The EAN or other GTIN has the wrong number of digits or a wrong check digit, or doesn't belong to the product. Correct it from the packaging, or leave the field empty.

Why does the comparison site show strange characters instead of accented letters?

The file is saved in a different encoding from the one stated in the header or expected by the comparison site. Save the feed in UTF-8 and say so in the XML header.

Can I fix an error directly in the comparison site's admin?

Sometimes, yes, but the fix is overwritten the next time the feed is downloaded. The lasting solution is to fix the data in the source or with a rule in the feed.

Try it on your own feed