Skip to content

DUPLICATE_INSTRUMENT_IN_TARGET_ALLOCATION ​

DUPLICATE_INSTRUMENT_IN_TARGET_ALLOCATION

Description ​

The same instrument ID appears more than once in the target allocation.

HTTP Status ​

422 Unprocessable Entity

doc_url Format ​

The doc_url value is an absolute URL and changes by environment:

<docs-base-url>/errors/duplicate_instrument_in_target_allocation

Typical Causes ​

  • The request contains duplicate instrument IDs.

Example ​

Response:

json
{
  "errors": [
    {
      "code": "DUPLICATE_INSTRUMENT_IN_TARGET_ALLOCATION",
      "message": "Instrument 019d91fc-f800-7000-8000-000000000021 was found at least twice in the same target allocation",
      "doc_url": "https://docs.example.com/errors/duplicate_instrument_in_target_allocation"
    }
  ]
}

How To Fix ​

  1. Remove the duplicate instrument entry.
  2. Submit the target allocation again.

Website