ocket8888 opened a new issue, #6787:
URL: https://github.com/apache/trafficcontrol/issues/6787

   ## This Bug Report affects these Traffic Control components:
   - Traffic Ops
   
   ## Current behavior:
   In APIv3 Traffic Ops does not check if a request's fields are `nil` before 
accessing them, causing an Internal Server Error when required fields are 
missing.
   
   ## Expected behavior:
   Missing required fields should result in a `400 Bad Request` response naming 
the missing fields.
   
   ## Steps to reproduce:
   ```console
   $ topost -kpa 3.1 deliveryservice_requests '{}'
   {
        "alerts": [
                {
                        "text": "Internal Server Error",
                        "level": "error"
                }
        ]
   }
   ```


-- 
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]

Reply via email to