Skip to content

INVALID_ALLOCATION_AMOUNT

INVALID_ALLOCATION_AMOUNT

Description

A premium-allocation leg amount is outside the accepted range of 0 to 10,000 basis points.

HTTP Status

422 Unprocessable Entity

doc_url Format

<docs-base-url>/errors/invalid_allocation_amount

Typical Cause

An allocation leg has an amount.value below 0 or above 10000.

Example

json
{
  "errors": [{
    "code": "INVALID_ALLOCATION_AMOUNT",
    "message": "Invalid premium allocation amount on instrument …: -1",
    "doc_url": "https://docs.example.com/errors/invalid_allocation_amount"
  }]
}

How To Fix

Provide an amount between 0 and 10000 using BASIS_POINT_OF_PREMIUM.