Open mbarton opened 3 months ago
curl -X POST \ -H 'Content-Type: application/json' -d '{"sex":"male","height_paternal": 50,"height_maternal": 50}' \ http://localhost:8000/utilities/mid-parental-height Internal Server Error
The underlying error is another validation error similar to #213 and #217
growth-api-1 | {'type': 'float_type', 'loc': ('response', 'mid_parental_height_upper_centile_data', 0, 'uk90_preterm', 'male', 'height', 0, 'data', 5, 'y'), 'msg': 'Input should be a valid number', 'input': None}
Also seen in the production logs
Looks like y is null like in https://github.com/rcpch/digital-growth-charts-server/issues/217
y
The underlying error is another validation error similar to #213 and #217
Also seen in the production logs