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

   ## This Bug Report affects these Traffic Control components:
   - Traffic Ops
   
   ## Current behavior:
   When creating a new Delivery Service, if `tenantId` is omitted (and probably 
also in the case that it's simply outside of the user's Tenant's access), 
Traffic Ops will respond with a 500 Internal Server Error after failing to 
check Tenancy.
   
   ## Expected behavior:
   The issue is with the client's request, so the response should be a 400 Bad 
Request along with an error message telling me what I did wrong.
   
   ## Steps to reproduce:
   Assuming `8` is the ID of `ANY_MAP` and no DS with the XMLID "test" already 
exists: `topost -kpa 3.1 deliveryservices '{"xmlId": "test", "displayName": 
"test", "protocol": 0, "typeId": 8, "dscp": 0}'`
   


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