-
Bug
-
Resolution: Unresolved
-
Major
-
None
We are using below API to cancel the queue build
http://<<host:port>>/queue/cancelItem?id=<<Queue ID>>
The API is cancelling the build if the build is in Queue and the behavior is as expected. But if the build is moved from Queue to execution then the API is returning HTTP 500 error with message as "Oops! A problem occurred while processing the request". We are expecting to return HTTP 400 error and message is like "The build is not available in Queue".
Please let me know in case my understanding is not correct.
Thank you
Regards,
Prashanth