Policy Detail API returns 500 status codes in dse2
Bug #1597243 reported by
Masahito Muroi
This bug report is a duplicate of:
Bug #1621268: 500 error on get of non-existent policy.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
congress |
In Progress
|
Undecided
|
Aimee Ukasick |
Bug Description
When user calls Policy detail API with un-defined policy name/id Congress returns 500 error. It should be 404 error.
example:
- Request
GET /v1/policies/
- Return
HTTP/1.1 500 Internal Server Error
Content-Type: application/json
Content-Length: 87
X-Openstack-
Date: Wed, 29 Jun 2016 09:25:23 GMT
{"error": {"message": "Internal server error", "error_data": null, "error_code": 500}}
Changed in congress: | |
assignee: | nobody → Aimee Ukasick (aimeeu) |
Changed in congress: | |
status: | New → Confirmed |
Changed in congress: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Oops so sorry I mistakenly filed a duplicate bug for this. /bugs.launchpad .net/congress/ +bug/1621268
https:/
Sorry I'm going to mark this one as duplicate because of all the activity that took place there, even though it really should've been the other way around.