Rectifying catalogue upload issues If there are problems when uploading a product catalogue, an error message is displayed on the "Catalogue" tab. Let's consider what it means and how to work with it. false W3sidGl0bGUiOiJTZXR0aW5ncyIsInVybCI6Ii91c2Vycy9hZG1pbmlzdHJhdGlvbi8ifSx7InRpdGxlIjoiU3RvcmVzIiwidXJsIjoiL3VzZXJzL2FkbWluaXN0cmF0aW9uL3N0b3Jlcy8ifSx7InRpdGxlIjoiSG93IHRvIGFkZCBhIG5ldyBzdG9yZSIsInVybCI6Ii91c2Vycy9hZG1pbmlzdHJhdGlvbi9zdG9yZXMvYWRkLW5ldy1zdG9yZS8ifV0= Settings /users/administration/ ["users","Settings"] ["users","Settings","Stores"] users

Rectifying catalogue upload issues

If there are problems when uploading a product catalogue, an error message is displayed on the "Catalogue" tab. Let's consider what it means and how to work with it.

Below the error message and unseccessful upload timestamp, you will see a “Download error log” link. The downloaded file will contain information about the reason and exact time of failure.

The error log contains information about the issues encountered with saving products that contain invalid data. In this case, the remaining items will be preserved, i.e. the items that did not contain errors will still be uploaded.

Example of an error log:

2016-05-20 16:15:42: Upload started
2016-05-20 16:15:48: Product variety with the ID number: 29774 contains an error in the name field. Message: The value is too long. Must be 255 characters or less. (code 2)
2016-05-20 16:15:48: Product variety with the ID number: 29774 contains an error in the price field. Message: The value must be a number. (code 1)
2016-05-20 16:16:34: Uploading ended

Possible reasons:

  1. the catalogue file is not on the server of the online store;
  2. a file with the .yml/.icml extension is registered. This is a non-standard extension and apache/nginx returns it with Content-Type = text/plain.

In these cases, the above-mentioned error is returned due to the fact that:

  1. tries to access http://site.ru/file.xml;
  2. gets the content of the 404 page;
  3. Content-Type of the file is incorrect.

Decision:

  1. replace the path to the file with a relative one like /file.xml;
  2. generate a catalog file; 3.replace the extension with XML, or add the following to the nginx settings:
location = /some_catalog_file.yml {
 add_header Content-Type text/xml;
 }

Note

If the catalogue upload was not initiated manually and an error occurred during the uploading, a notification about the error is sent to users with “Administrator” rights.
Thank you for your feedback.
Was this article helpful?
No
  • The recommendations did not help
  • There is no answer to my question
  • The text is difficult to understand
  • I do not like the described functionality
Yes
Previous article
Uploading a catalogue
This article describes the settings that are required to upload the product catalogue of an online store to the system.
Next article
Warehouses for autoreservation in a store
Select the warehouses that will be available when working with a store.