Skip to content

invalid_target_allocation โ€‹

invalid_target_allocation

Description โ€‹

One target-allocation percentage does not satisfy the validation rules for the request.

HTTP Status โ€‹

400 Bad Request

doc_url Format โ€‹

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

<docs-base-url>/errors/invalid_target_allocation

Typical Causes โ€‹

  • A percentage is outside the allowed range.
  • The allocation contains a value that does not fit the current business rule.
  • The request used a percentage that the validator cannot accept for the given fund.

Example โ€‹

Response:

json
{
  "errors": [
    {
      "code": "invalid_target_allocation",
      "message": "Invalid target allocation percentage on ISIN US0000000000: 1250",
      "doc_url": "https://docs.example.com/errors/invalid_target_allocation"
    }
  ]
}

How To Fix โ€‹

  1. Check the percentage value for the failing fund.
  2. Compare the request with the endpoint rules in the API reference.
  3. Retry with a valid allocation.