You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2022/07/07 16:01:24 UTC

[GitHub] [trafficcontrol] ocket8888 opened a new issue, #6942: Malformed requests to profileparameters causes internal server error

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

   ## This Bug Report affects these Traffic Control components:
   - Traffic Ops
   
   ## Current behavior:
   Sending an invalid request body in a POST request to `/profileparameters` (in all API versions) yields a `500 Internal Server Error` response.
   
   ## Expected behavior:
   Invalid requests should yield `400 Bad Request` responses with at least one error-level alert describing why the input was invalid.
   
   ## Steps to reproduce:
   1. `topost -k profileparameters` (no request body is necessary to reproduce, but also syntactically invalid bodies e.g. `[`, `{` will cause it, and so will any valid JSON that isn't an object or array e.g. `"string"`, `null`).
   
   


-- 
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: issues-unsubscribe@trafficcontrol.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficcontrol] ocket8888 closed issue #6942: Malformed requests to profileparameters causes internal server error

Posted by GitBox <gi...@apache.org>.
ocket8888 closed issue #6942: Malformed requests to profileparameters causes internal server error
URL: https://github.com/apache/trafficcontrol/issues/6942


-- 
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: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficcontrol] ocket8888 commented on issue #6942: Malformed requests to profileparameters causes internal server error

Posted by GitBox <gi...@apache.org>.
ocket8888 commented on issue #6942:
URL: https://github.com/apache/trafficcontrol/issues/6942#issuecomment-1177854729

   Duplicate of #4428 


-- 
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: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org