INSTRUMENT_NOT_ELIGIBLE_FOR_PRODUCT
INSTRUMENT_NOT_ELIGIBLE_FOR_PRODUCT
Description
An allocation leg references an instrument that is not eligible for the compartment's product.
HTTP Status
422 Unprocessable Entity
doc_url Format
<docs-base-url>/errors/instrument_not_eligible_for_product
Typical Cause
The selected instrument is absent from the product's eligible instrument list.
Example
json
{
"errors": [{
"code": "INSTRUMENT_NOT_ELIGIBLE_FOR_PRODUCT",
"message": "Instrument with id: '…' is not eligible for product with id: '…'",
"doc_url": "https://docs.example.com/errors/instrument_not_eligible_for_product"
}]
}How To Fix
Select an instrument offered by the compartment's product.