Hi,
I've created a new entity and it only lets me create one record. If I try to create a second one I get a 500 error. The log states the following:
[2020-05-22 19:31:24] Espo.ERROR: (23000) SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '5' for key 'PRIMARY'; POST /crm/api/v1/Subscription; line: 983, file: /public_html/crm/application/Espo/ORM/DB/Mapper.php [] []
It appears it is always trying to submit '5' as the id.
Any help will be much appreciated.
Thanks
Andy
I've created a new entity and it only lets me create one record. If I try to create a second one I get a 500 error. The log states the following:
[2020-05-22 19:31:24] Espo.ERROR: (23000) SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '5' for key 'PRIMARY'; POST /crm/api/v1/Subscription; line: 983, file: /public_html/crm/application/Espo/ORM/DB/Mapper.php [] []
It appears it is always trying to submit '5' as the id.
Any help will be much appreciated.
Thanks
Andy
Comment