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 2021/11/08 16:24:23 UTC

[GitHub] [trafficcontrol] ocket8888 opened a new issue #6340: Invalidation Type restricted message could be better

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


   ## This Improvement request (usability, performance, tech debt, etc.) affects these Traffic Control components:
   - Traffic Ops
   
   ## Current behavior:
   When attempting to create a "REFETCH" Content Invalidation Job when no `refetch_enabled` Parameter exists (or is not set to a case-insensitive "true") yields the error: 
   
   ```json
   {
   	"alerts": [
   		{
   			"text": "InvalidationType is invalid",
   			"level": "error"
   		}
   	]
   }
   ```
   
   ## New behavior:
   Firstly, the field is called "invalidationType", not "InvalidationType" - but that's less important than that the value "REFETCH" is actually _valid_, just _not allowed_, and the error message doesn't give the user enough information to know what will cause the request to succeed.


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