I have a CiviCRM Webform that creates a contact with some custom fields on submission. It throws DB Constraint error intermittently
On Webform submission I get this error: The Druapl Reports Logs shows:
"The CiviCRM "contact create" API function returned the error: "A fatal error was triggered" when called by line 618 of wf_crm_webform_postprocess.inc with the following parameters: "Array ( [contact_sub_type] => Array ( [Invoice_No] => Invoice_No ) [webform_label] => Invoice [id] => -268 [check_permissions] => [version] => 3 ) "
However, if the same user creates a Contact using the civicrm form, there is no error.