cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2- issues when creating new product

Magento 2- issues when creating new product

Hi Guys, 

 

I am trying to create a new product. When I am creating new product then it show error "Rolled back transaction has not been completed correctly."

 

I have checked in exception log & found that error "main.CRITICAL: Rolled back transaction has not been completed correctly. {"exception":"[object] (Exception(code: 0): Rolled back transaction has not been completed correctly. at /srv/webapps/batterym2/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:291)"} []"

 

Can you give me any solution for fixing that exception??

Please help. Thanks!

Screenshot from 2021-09-13 17-42-44.png

1 REPLY 1

Re: Magento 2- issues when creating new product

@ritikagupt68ac 

Magento rolled back the request means the process gets stuck somewhere in the whole creating product process.

For example: I'm uploading a CSV file with 400 records and it successfully uploaded 349 records but finds an error on the 350th record then it will roll back the whole file and generate an error.

A similar thing might be arriving here.

So, you need to check the exception log or error log to find out the particular issue.

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.