
Product feed error codes: meaning and how to fix them
Discover the most-read articles
When Affilae analyses your product feed and cannot read it, the analysis stops on an error code, for example D15. Each code points to exactly what went wrong: an unreachable URL, a wrong format, an encoding, a product tag or a missing column mapping.
This page is a reference table. Find your code or your message in the list, apply the matching action, then run the feed check again.
Where you can see that a feed is in error
The feeds page sits in your program menu, not in the global sidebar.
- In the sidebar, open Manage programs, then click your program name.
- Expand Medias and click Products Feeds.
- In the Status column, a failing feed shows the red chip Error and its title turns red.
- After a fix, open the feed with the Modify feed action and go through to Create: the check runs again straight away. If the file cannot be read, an error message shows in the red banner of the form.
The main families of causes
Ten families cover every code. If you have no code at hand, start with the family that best matches your situation.
- Feed cannot be downloaded: D3, D4, D5, D6, D7, D8, D25, D28, D29, D35, D36
- Format not recognised or file unreadable: D1, D2, D9, D13, D27, D30, D31, B2
- Encoding: D10, D11, D12
- CSV specific: D19, D20, D21, D22
- XML product tag: D14, D15, D16, D17, D18, B3
- JSON: D30, D32
- Column mapping: A1, D23, D24, C5
- Partnership: A3
- Tracked feed downloads by your partners: A2, A4, A5, A6, A7
- Affilae technical errors: C3, C4, D26
The error codes, one by one
While a feed is in error, whatever the code, your partners can no longer download their tracked feed: fix the cause quickly.
| CODE | MESSAGE | WHAT TO DO |
|---|---|---|
| A1 | Url tag is not specified in mapping for this feed. | Reopen the feed and map the Landing page attribute to the column holding the product page URL. Without it, no tracked link can be built. |
| A2 | This feed as currently has an error, it will back soon as possible. | This code is the effect of an error on your feed: while the feed is in error, your partners get A2 each time they download their tracked feed. Fix the cause, and the tracked feed is available again as soon as the next check succeeds. |
| A3 | Current partnership disabled or blocked. | This is not a file issue: the tracked feed is only available for an approved partnership. Open My affiliates and check the status of the partnership. |
| A4 | The feed analysis has not been done yet. | Nothing to do. This is expected right after a feed is created or edited. |
| A5 | A build for this feed is already in progress for this partnership. | A download of this tracked feed is already running for this partnership. Wait for it to finish before starting another one. |
| A6 | This feed was already downloaded recently for this partnership. Retry in […] seconds. | This tracked feed was already downloaded recently for this partnership. Wait for the delay given in the message, also given in the HTTP Retry-After header, and schedule downloads at the pace the feed is updated: once a day is usually enough. |
| A7 | The tracking service is momentarily unavailable, please retry in a few moments. | Temporary unavailability on the Affilae side. Run the download again a few minutes later. If the code persists, contact support. |
| B2 | An error appear when trying to parse feed. | The file was downloaded but could not be parsed. Check that the actual content matches the declared format, and that the file is complete rather than truncated. |
| B3 | Xml reader timeout when reading feed, double check feed URL. | Reading the XML took too long. Publish a static file instead of an export generated on demand, and trim it down if your catalogue is very large. |
| C3 | An error occurred during mongo data writer for feed: […] | A technical error on the Affilae side, not yours. Contact support with the feed name and the code. |
| C4 | An error occurred during data insertion in mongo for feed: […] | A technical error on the Affilae side. Contact support with the feed name and the code. |
| C5 | Feed lang not set, double check if lang is correctly set | Reopen the feed and fill in the Feed language field, among FR, EN and ES. |
| D1 | Unable to parse feed, check if separator is set. | Set the Field separator actually used in your CSV: comma, semicolon, pipe or tab. |
| D2 | Unable to read feed, check if separator is set | Same cause as D1, with a heavier consequence. Open your file in a text editor to spot the exact separator, then declare it. |
| D3 | Unable to retrieve feed data, double check feed URL. | Test the URL in a private browsing window. It must return the file with no password, no redirect to a login page and no IP filtering. |
| D4 | Unable to retrieve feed data, double check feed URL. | Same checks as D3. |
| D5 | Unable to retrieve feed data, double check feed URL. | Same checks as D3. |
| D6 | Connection timeout when retrieving feed with current url, double check feed URL. | Your server took too long to answer. Generate the file ahead of time with a scheduled task, rather than at the moment of the call. |
| D7 | Connection reset error when retrieving feed with current url, double check feed URL. | The connection was cut mid-download. Ask your host to check anti-bot protections, the web application firewall and rate limits. |
| D8 | Unable to retrieve feed data, double check feed URL. | Same checks as D3. |
| D9 | Server has returned an HTTP Error 500, check your server. | This code shows when the file received could not be read as valid XML. Check that your server returns the complete file, not an error page, then run the file through an XML validator. |
| D10 | Encoding not set for this feed, encoding possibly detected: […] did you think to fill the information of this one ? | Set the File encoding field, among UTF-8, UTF-16 and ISO-8859-1. When in doubt, export in UTF-8 and declare UTF-8. |
| D11 | Encoding not set for this feed, did you think to fill the information of this one ? | Same fix as D10. |
| D12 | Unable encode feed data with current encoding type: […] | The declared encoding does not match the file. Typical sign: accented characters show up as odd symbols. Export again in UTF-8 and declare UTF-8. |
| D13 | Feed format not set for this feed: […], check if you give us the right format in your feed profile. | Declare the right format: CSV, XML or JSON. Beware, the file extension proves nothing, only the actual content counts. |
| D14 | Xml item not found in mapping for this feed. | Fill in the XML Item field, that is the tag which delimits one product and repeats for every product. |
| D15 | No item retrieve with current xml_items tag: […], check if you set correct tag. | The tag exists but returns nothing. Give the tag repeated for each product, often item or entry, not the tag that wraps the whole catalogue. Case matters, and so does any prefix. |
| D16 | Unable to retrieve landing_page data, tag used: […] | In an XML feed, the tag mapped to the Landing page attribute returns no usable URL. Check the exact tag name, and that every product carries one. |
| D17 | No product found, xml_items tag used: […], update your feed mapping. | Same fix as D15. Go through the mapping step to the end. |
| D18 | No item retrieve with current xml_items tag: […], check if you set correct tag. | Same fix as D15. |
| D19 | Unable to retrieve landing_page data, tag used: […] | In a CSV, the column mapped to the Landing page attribute is empty or wrongly named. Check the column name, spelling included. |
| D20 | Unable to read csv header, check if csv contains header. | Your CSV must start with a header row naming the columns. Add it, with no blank line or comment above it. |
| D21 | Unable to parse csv with current separator: […], check if you set correct separator. | The declared separator does not split your rows. Also check that values containing the separator are wrapped in quotes. |
| D22 | Unable to retrieve csv fieldnames. | The column names could not be read. Check the header row, the separator and the encoding, in that order. |
| D23 | Feed information not found, did you think to fill the information of this one ? | No column mapping is stored, often because the configuration was never taken through to the Create button. Reopen the feed and finish the three steps. |
| D24 | No landing page found, tag used: […], update your feed mapping. | The Landing page attribute is mapped, but no value comes back. Check that the column is filled for every product, with a complete URL. |
| D25 | Unable to retrieve feed information, can be deleted, disabled or doesn’t exists. Double check feed URL. | The file is no longer at the declared address. Common cases: unpublished export, shared document switched back to private, address changed after a website redesign. The same code shows when the feed was deactivated, deleted or left in Draft on Affilae, or when its URL changed: your partners then have to fetch their new tracked URL. |
| D26 | Internal Server Error | An internal error on the Affilae side. Contact support with the feed name and the time of the analysis. |
| D27 | Unable to parse xml feed | The XML is not valid. Run it through an XML validator: unclosed tag, forbidden character or truncated file are the usual causes. |
| D28 | Unable to download feed from host, double check feed url. | The server hosting the file refused the download. Check the domain name, the certificate and any access restrictions. |
| D29 | Unable to download feed from Lengow, check feed status on Lengow. | Your feed is hosted on Lengow. Log in to your Lengow account and check that the feed is active and published. |
| D30 | Unable to read json content, check if json content is correct. | The JSON is not valid. Run it through a JSON validator before the next analysis. |
| D31 | Your feed is incorrect, please check your mapping or encoding. | A generic code. Go through it in order: the declared encoding first, then the mapping of every attribute against the real columns of your file. |
| D32 | JSON item not found in mapping for this feed. | Fill in the JSON Item field, that is the key holding the product list in your file. |
| D35 | The feed processing was interrupted, please retry in a few moments. | The feed processing was interrupted. Run the download again a few minutes later. If the code persists, contact support. |
| D36 | Feed content could not be decompressed: the compression announced by your server (Content-Encoding header) does not match the content sent. | Your server announces a compression (Content-Encoding header) that does not match the file it sends. Ask your host or your technical team to fix that header, or to serve the file without compression. |
What happens if you leave a feed in error
- While the feed is in error, the activation toggle disappears from its row in the table. You cannot switch it back on by hand, you have to fix the cause.
- Your partners can no longer download their tracked feed: they get the A2 code until a new check succeeds.
- A warning icon shows next to Products Feeds when you expand Medias in the program menu.
- The feed is no longer presented on your public program page in the Marketplace.
- A feed left in error for several weeks is eventually deleted automatically. You then have to create it again from scratch.
Avoiding the most common errors
- Publish a static file rather than an export generated on every call. This is the best protection against D6, D7 and B3.
- Do not change the URL of a feed already in place. A website redesign that moves the export triggers a D25 a few hours later.
- If your server filters IP addresses, ask support for the address Affilae downloads feeds from, then allow it.
- Export in UTF-8 and declare UTF-8. That is the setting which triggers the fewest encoding errors.
- After a change in your export structure, reopen the feed and validate the column mapping again. A single renamed column is enough to send the feed into error.
- Fix any error quickly: while it lasts, your affiliates no longer have access to their tracked feed.
Three typical situations
- A shop that has just redesigned its website. The feed switches to D25 overnight, because the old export address no longer exists. Updating the URL or Flux field with the new address is enough.
- An XML catalogue reused from a Google Shopping feed. The feed shows D15 or D17 because the declared tag is the one wrapping the whole catalogue. Replace it with the tag repeated for each product and the analysis runs again.
- A CSV export opened and saved again in a spreadsheet. The separator changed, or accented characters broke: depending on the case, the feed falls into D21 or D12. Export again from your management tool, without going through the spreadsheet.
Related articles
- Adding a product feed
- Product feeds: what they are for and what your file must contain
- Dashboard: top selling products
- Affiliate Marketing Glossary
Frequently asked questions
Voir plus de questions reponses
The feeds table does not show the code, only the Error chip. If the file cannot be read when you save the feed, the error message shows in the red banner of the form: look it up in the table of this page. Otherwise, ask support for the code and give the feed name and URL.
Follow this order, it covers the vast majority of cases. 1. Open the feed URL in a private browsing window: the file must show without a password. 2. Check the declared format, CSV, XML or JSON, against the actual content. 3. Check the encoding, and the separator for a CSV. 4. Go through the column mapping again, especially the Landing page attribute.
Yes. The status tooltip says it: after correction, the status may take a few hours to update, because the check runs periodically. To run it straight away, reopen the feed with Modify feed and go through to Create. Above all, do not create a second feed with the same URL, it would be refused and you would end up with a duplicate.
A2 means your feed is in error. While the error lasts, your partners can no longer download their tracked feed. Fix the cause, then run the check again by reopening the feed with Modify feed up to Create: the tracked feed is available again as soon as the check succeeds.
Your partners stay without their tracked feed for as long as the error lasts. After several weeks of continuous error, the feed is deleted automatically and you have to create it again from scratch, column mapping included. In the meantime, the feed is no longer presented on your public program page in the Marketplace.
The one that delimits a product and repeats for every product, often item or entry. It is not the tag wrapping the whole catalogue. Two classic traps: case, which matters, and the prefix some exports add in front of the tag name.
Your browser is already authenticated on your site, Affilae is not. So test the URL in a private browsing window. If your server filters IP addresses, or if a web application firewall blocks automated downloads, the Affilae call is rejected while yours goes through. In that case, ask support for the address Affilae downloads feeds from, then allow it.
No. These three codes point to a technical error inside Affilae, not to a problem in your file. Contact support with the feed name, its URL and the approximate time of the analysis. There is nothing to fix on your side.