Skip to content

duplicate_fund_in_switch โ€‹

duplicate_fund_in_switch

Description โ€‹

The same ISIN appears more than once in the same switch.

HTTP Status โ€‹

400 Bad Request

doc_url Format โ€‹

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

<docs-base-url>/errors/duplicate_fund_in_switch

Typical Causes โ€‹

  • The same fund was entered twice in the switch payload.
  • The client duplicated a leg while editing the request.
  • A validation rule was violated while building the switch.

Example โ€‹

Response:

json
{
  "errors": [
    {
      "code": "duplicate_fund_in_switch",
      "message": "ISIN US0000000000 was found at least twice in the same switch",
      "doc_url": "https://docs.example.com/errors/duplicate_fund_in_switch"
    }
  ]
}

How To Fix โ€‹

  1. Keep each ISIN only once in the switch payload.
  2. Merge duplicate entries before submitting the request.
  3. Retry with a deduplicated leg list.