Feature #7185
not clear which parameter is not recognized when 404 is returned for invalid project key and query ID
Status: | New | Start date: | 2010-12-28 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % 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?