POST /v1/estimate_bc) built a malformed error response when given bad input, which the platform rejected as a generic 502. They now return the correct HTTP status (e.g. 400) with a structured message naming the problem. Successful responses and trajectory output are unchanged.