Feature #7185

not clear which parameter is not recognized when 404 is returned for invalid project key and query ID

Added by Alex Last over 11 years ago.

Status:NewStart date:2010-12-28
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:REST API
Target version:-
Resolution:

Description

I'm sending request:

get all issues with projectKey=... and query id = ...

one of these fields is invalid, and I don't know which one (it's some parameter provided by user).
or maybe they are both invalid.

the server responds "404 not found", which is expected.

now, how can I understand which parameter was not recognized exactly - projectKey or queryID?
is it possible to provide some kind of XML response in addition to 404 in this case?

Also available in: Atom PDF