CHW-4001 BadRequest

request payload failed validation; see endpoint documentation for the expected shape

Default message: request payload failed validation; see endpoint documentation for the expected shape
HTTP status: 400 (client)

Problem. The request payload failed validation before any business logic ran. Cause. A required field is missing, a field has the wrong type, or the JSON body could not be parsed. Fix. Consult the endpoint’s API documentation for the expected shape and resubmit. HTTP 400.