cancel
Showing results for 
Search instead for 
Did you mean: 

The product was unable to be saved. Please try again.

The product was unable to be saved. Please try again.

Hi

we are on CE 2.3.6 and have a wired issue with the asyn api. We use the consumer async.operations.all with RabbitMQ as suggested in the manual.

 

PUT rest/all/async/bulk/V1/products/bySku
the product with the sku 10914 is successfully generated

 

DELETE rest/all/async/V1/products/10914
the product with the sku 10914 is successfully deleted

 

PUT rest/all/async/bulk/V1/products/bySku
Error: The product was unable to be saved. Please try again.

 

The sequence PUT - DELETE - PUT for the same sku fails.

Products with other sku's can still be generated.

 

When restarting the queue consumer with "php bin/magento queue:consumers:start async.operations.all" the product in question can again be generated.

 

Why?


Thanks
Andrej

2 REPLIES 2

Re: The product was unable to be saved. Please try again.

Have you solved the problem?

Re: The product was unable to be saved. Please try again.

Please run the below command and then try to save the products.

rm -rf generated/*
php bin/magento indexer:reset
php bin/magento indexer:reindex
php bin/magento cache:clean

Thanks.