CHW-4322 RiskWeightsInvalidShape

risk weight override malformed; expected body {"weights":{"vulnerability":0.5,...}} with numeric values

Default message: risk weight override malformed; expected body {“weights”:{“vulnerability”:0.5,…}} with numeric values
HTTP status: 400 (client)

Problem. PUT /api/v1/intel/weights rejected the body as malformed. Cause. The body was not JSON, contained unknown fields, or carried non-numeric weights. Fix. Send a body of the form {"weights":{"vulnerability":0.5,...}} with numeric values. HTTP 400.