---
url: /errors/self_investment_switch_position_is_unknown.md
---
# `SELF_INVESTMENT_SWITCH_POSITION_IS_UNKNOWN`

`SELF_INVESTMENT_SWITCH_POSITION_IS_UNKNOWN`

## Description

The request references a sell leg whose current position is not known at the requested date.

## HTTP Status

`422 Unprocessable Entity`

## `doc_url` Format

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

`<docs-base-url>/errors/self_investment_switch_position_is_unknown`

## Typical Causes

* The sell leg uses a fund that has no current position.
* The position data for the requested date is missing.
* The request targets a fund that has never been held in the compartment.

## Example

Response:

```json
{
  "errors": [
    {
      "code": "SELF_INVESTMENT_SWITCH_POSITION_IS_UNKNOWN",
      "message": "Position for fund 'US0000000000' is unknown and cannot be used to validate the switch.",
      "doc_url": "https://docs.example.com/errors/self_investment_switch_position_is_unknown"
    }
  ]
}
```

## How To Fix

1. Verify the sell legs reference funds with an existing position.
2. Ensure the position feed is available for the requested date.
3. Retry with a valid fund and date combination.
