DUPLICATE_INSTRUMENT_IN_ALLOCATION
DUPLICATE_INSTRUMENT_IN_ALLOCATION
Description
The same instrument appears more than once in a premium allocation.
HTTP Status
422 Unprocessable Entity
doc_url Format
<docs-base-url>/errors/duplicate_instrument_in_allocation
Typical Cause
Multiple allocation legs use the same instrumentId.
Example
json
{
"errors": [{
"code": "DUPLICATE_INSTRUMENT_IN_ALLOCATION",
"message": "Instrument … was found at least twice in the same premium allocation",
"doc_url": "https://docs.example.com/errors/duplicate_instrument_in_allocation"
}]
}How To Fix
Merge duplicate legs into one leg per instrument.