on 2021 Mar 15 7:20 PM
1. I am trying to bulk insert records using the following query:
DAO.INSERT.into(entity).entries(toInsert)
2. But I end up with the following error:
{"code":400,"message":"ENTITY_ALREADY_EXISTS","numericSeverity":4}
even though there are no duplicates in the table
Request clarification before answering.
Hi Tim,
Thank you for the help. This hint helped me understand the root cause.
The issue was that the array which I was sent to be uploaded had a duplicate record within in. I was not aware of that and was checking on all other places as it sent ENTITY_ALREADY_EXISTS error which put me off track.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 7 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.