Rectifying catalogue upload issues
Copy the link to the article
Copied

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
  • Рекомендации не помогли
  • Нет ответа на мой вопрос
  • Текст трудно понять
  • Не нравится описанный функционал
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.