ocket8888 opened a new issue #6714:
URL: https://github.com/apache/trafficcontrol/issues/6714
## This Bug Report affects these Traffic Control components:
- Traffic Ops
## Current behavior:
Sending an empty request body, an empty object, or any otherwise valid JSON
that doesn't fulfill the interface
```typescript
interface Valid {
"metadata": null
}
```
where the `null` can be any valid JSON value causes Traffic Ops to return a
`500 Internal Server Error` response.
*Note also that this means the
## Expected behavior:
When an invalid request body is submitted, the response code should be `400
Bad Request`
## Steps to reproduce:
- master
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]