title: SQL Integrity constraint violation: 1062 Duplicate entry
body: <p>When I'm updating products in my Magento-store externally from my accounting software I'm receiving following error in the logs:</p>
  
  <pre><code>SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '727-0-4-0'
  for key 'CC12C83765B562314470A24F2BDD0F36', query was: INSERT INTO
  `catalog_product_entity_group_price` (`entity_id`, `all_groups`,
  `customer_group_id`, `value`, `website_id`) VALUES (?, ?, ?, ?, ?)
  </code></pre>
  
  <p>How do I fix this?</p>