ocket8888 opened a new issue #2939: /api/1.x/cdns/not_a_number_or_route Gives 
an Incorrect Error Message
URL: https://github.com/apache/trafficcontrol/issues/2939
 
 
   If you request that path on a Traffic Ops instance, the response will be
   
   ```json
   {
        "alerts": [
                {
                        "text": "id cannot parse to integer",
                        "level": "error"
                }
        ]
   }
   ```
   with response code 400. The proper response to requesting a route which does 
not exist is a 404 with the error message "The requested resource could not be 
found" or similar.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to