CHW-4323 RiskWeightsSumRejected
risk weight override fails validation: weights must be non-negative, known categories, sum > 0, and no single weight above 0.8
Default message: risk weight override fails validation: weights must be non-negative, known categories, sum > 0, and no single weight above 0.8
HTTP status:400(client)
Problem. PUT /api/v1/intel/weights rejected the weights map.
Cause. Validation failed because the map sums to zero, contains
negative values, includes an unknown category, or a single weight
exceeded the 0.8 cap. Fix. Adjust the weights so they are all
non-negative, the sum is greater than zero, every key is a known
category, and no single weight exceeds 0.8. HTTP 400.