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
- Keep each ISIN only once in the switch payload.
- Merge duplicate entries before submitting the request.
- Retry with a deduplicated leg list.