Jump to content
Calleja

Errors occurred: Technical error: Unexpected response returned by server. Import stopped.

Recommended Posts

Hi,

I am working with local development and production site.

Prestashop: 1.7.6.1

I have more than 5.000 categories and subcategories (auto parts website).

My main duty now is to import (through native import tool) long product files.

To avoid errors in production, I do import first in local.

Problem is that suddenly, without no module installations, either code changes, etc.  import tool is throwing me this error:

Errors occurred: Technical error: Unexpected response returned by server. Import stopped.

If I look into dev tools, I see this:

Duplicate entry '2019117144-1' for key 'PRIMARY'<br /><br /><pre>INSERT INTO `pr_category_shop` (`id_category`, `id_shop`) VALUES ('2019117144', '1')</pre>

.csv file configuration:

|reference|name|category(id1,id2,id3,id4...)|imgage

I can't see where is the problem, and why now, after importing tons of products whitout problem at all...

Weird thing too, import stop, but it creates new categories! why creates news categories if products has assigned its own existing category?

thanks, hope you can help

 

Share this post


Link to post
Share on other sites
On 1/13/2020 at 11:17 AM, Calleja said:

 

If I look into dev tools, I see this:


Duplicate entry '2019117144-1' for key 'PRIMARY'<br /><br /><pre>INSERT INTO `pr_category_shop` (`id_category`, `id_shop`) VALUES ('2019117144', '1')</pre>

 

 

Hi,

I think  the problem  is the duplicated entries, you should find  a way  to ignore or  avoid  them.

Share this post


Link to post
Share on other sites

Hi,

thanks.

I can read duplicate entries too. But I don't know why is this behaviour when I have not duplicate entries.

I am trying to import PRODUCTS, not categories. So, I don't understand why is this behaviour...

I re install it, and now (untill now...) is working fine.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More