Organization parameter is confusing and has poor error messages on invalid input
See original GitHub issueIs your feature request related to a problem? Please describe.
It was difficult to discover how to use az artifacts universal
and I had to look at docs. The error messages were cryptic and unhelpful.
Describe the solution you’d like
-
path
parameter does not seem to accept relative paths - The parameter set should be improved.
organization
does not need to be a full URL, it would make more sense to accept just the organization name (without thehttps://dev.azure.com/
prefix) - I received an “index out of range” or similar exception using one of the parameters. I think this is from an internal parsing error. This error should be caught and friendly
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (1 by maintainers)
Top Results From Across the Web
java - Which exception to throw for invalid input which is valid ...
The question is is throwing illegal argument exception the right thing to do? It depends on how you want / need to "frame"...
Read more >CWE-20: Improper Input Validation (4.9) - MITRE
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required...
Read more >Email Distribution Error Messages - Qualtrics
Qualtrics has built in messages to let you know what you need to do to ... getting an error message that says my...
Read more >Video: Input and error messages - Microsoft Support
Input and error messages · Select the cells that you want to create a message for, and click Data Validation. · On the...
Read more >How to Fix a 400 Bad Request Error (Causes and Fixes) - Kinsta
The 400 Bad Request error indicates that the server cannot or process the request due to a client error. Read about the common...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also seems that the “packages” tag should be removed from this issue, as it occurs agnostic of “packages”
I think this issue should be reopened. The original issue is that specifying an improperly formatted
--org
parameter throws a cryptic error. I just updated and attempted to use a different command but faced the same issue. The error is uninformative and the solution is unintuitive, so it is very difficult to debug. I definitely think this error needs to be handled better, such as specifying that the issue is with--org
and how to properly format the values.