You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When making a POST to /deliveryservices_required_capabilities with a requiredCapability that does not exist and with no servers linked to the same delivery service the error response is:
HTTP/1.1 404 Not FoundContent-Type: application/json
{
"alerts": [
{
"text": "server_capability not found",
"level": "error"
}
]
}
When making a POST to /deliveryservices_required_capabilities with a requiredCapability that does not exist and servers are linked to the same delivery service the error response is:
HTTP/1.1 400 Bad RequestContent-Type: application/json
{
"alerts": [
{
"text": "capability TEST_DISK1 cannot be made required on the delivery service 2 as it has the associated servers 14 that do not have the capability assigned",
"level": "error"
}
]
}
I'm submitting a ...
Traffic Control components affected ...
Current behavior:
When making a
POSTto/deliveryservices_required_capabilitieswith arequiredCapabilitythat does not exist and with no servers linked to the same delivery service the error response is:When making a
POSTto/deliveryservices_required_capabilitieswith arequiredCapabilitythat does not exist and servers are linked to the same delivery service the error response is:Even though the server capability does not exist.
Expected / new behavior:
Should return a
404and same response message.