Every time I create a contact this message appears
Error occurred while saving record
Although the record is created successfully.
In the console I get this message in a POST request
Database failure. Please refer to suitecrm.log for details.
{
"errors": [
{
"message": "Internal server error",
"extensions": { "category": "internal" },
"locations": [{ "line": 2, "column": 3 }],
"path": ["saveRecord"]
}
],
"data": { "saveRecord": null }
}
In the suitecrm
logs I get these messages
Query Failed: INSERT INTO contacts_cstm ...
MySQL error 1062: Duplicate entry '859b6192-6572-2f6e-3262-65a40a9da25f' for key 'contacts_cstm.PRIMARY'
And then this:
Error inserting into table: contacts: Query Failed:
MySQL error 1062: Duplicate entry '859b6192-6572-2f6e-3262-65a40a9da25f' for key 'contacts.PRIMARY'
I have commented out hooks that could be causing this behavior but when trying to create a contact again the problem persists. Any ideas?
Thanks in advance