#162 500 on request
Closed: Fixed Opened by pingou.

I've adjusted the page https://bodhi.stg.fedoraproject.org/updates/FEDORA-2018-4294cb82b8 so it queries waiverdb for waivers.

It calls waiverdb with the following results:

subject = [
    {"item":"python37-3.7.0-0.14.b3.fc26","type":"koji_build"},
    {"original_spec_nvr":"python37-3.7.0-0.14.b3.fc26"},
    {"item":"FEDORA-2018-4294cb82b8","type":"bodhi_update"}
]

The call returns a 500 ISE, could someone check the logs?


Note: I finally went with getting the waivers off greenwave since we already query it, but this is tangential to tihs ticket :)

For the record, the query causing a 500 error is https://waiverdb-web-waiverdb.app.os.stg.fedoraproject.org/api/v1.0/waivers/?results=[{%22item%22:%22python37-3.7.0-0.14.b3.fc26%22,%22type%22:%22koji_build%22},{%22original_spec_nvr%22:%22python37-3.7.0-0.14.b3.fc26%22},{%22item%22:%22FEDORA-2018-4294cb82b8%22,%22type%22:%22bodhi_update%22}]&callback=jQuery110208981009785948819_1523558623857&_=1523558623858

Metadata Update from @lholecek:
- Issue assigned to lholecek

So returning an easy to understand error message would fix this? I expect that making an unexpected/bad queries shouldn't give 500 status code.

Do I understand this issue correctly?

:+1:, you got it @lholecek.

:thumbsup: on the 400 error + a description of said error :)

Metadata Update from @lholecek:
- Issue close_status updated to: Fixed
- Issue set to the milestone: 0.10
- Issue status updated to: Closed (was: Open)
- Issue tagged with: bug

Metadata