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 โ
- Check the percentage value for the failing fund.
- Compare the request with the endpoint rules in the API reference.
- Retry with a valid allocation.