You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ocket8888 (via GitHub)" <gi...@apache.org> on 2023/01/28 00:28:10 UTC
[GitHub] [trafficcontrol] ocket8888 opened a new issue, #7321: Incorrect error message when creating a DS with insufficient Tenancy
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: issues-unsubscribe@trafficcontrol.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Incorrect error message when creating a DS with insufficient Tenancy [trafficcontrol]
Posted by "ntheanh201 (via GitHub)" <gi...@apache.org>.
ntheanh201 commented on issue #7321:
URL: https://github.com/apache/trafficcontrol/issues/7321#issuecomment-1776733916
@ocket8888 Please take a look at my PR: #7848
--
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