cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with adding product images EE2.2

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Issue with adding product images EE2.2

Hello,

We've been encountering issues when running addImageToProductGallery

And saving the product (either new or existing one) with \Magento\Catalog\Model\ProductRepository::​save​($product)

Every time we do that we will get exception thrown. So we are unable to import product images

 

Adding images works when product is saved using \Magento\Catalog\Model\Product::​save() ​but this method is marked as deprecated.


Anyone encountered this issue ?

 

Magento Commerce version 2.2.2

1 REPLY 1

Re: Issue with adding product images EE2.2

Hi @dzungmeister,

 

Can you share the exception and/or error message?