Error #40012005: A product type with name 'X' already exists.

The Problem
A product type with name 'X' already exists.

You have attempted to save a product type, but a product type with that name already exists. Product types must be uniquely named.

Solutions
Change the name of the product type to avoid conflict, or delete the existing product type.