cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with adding product images EE2.2

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

Re: Issue with adding product images EE2.2

Hi @dzungmeister,

 

Can you share the exception and/or error message?

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"