-
Bug
-
Resolution: Done
-
Normal
-
None
A request for a non-existent status ID will give a HTTP 400 error instead of a HTTP 404.
{ "error": { "status": 400, "statusText": "PDF status could not be determined", "description": "Error: TypeError: Cannot read properties of undefined (reading 'components')" }}
Steps to reproduce
Do something like this - https://console.stage.redhat.com/api/crc-pdf-generator/v2/status/62e031d3-5dcb-491a-9512-847b8ad444a8
Any ID that doesn't exist will reproduce the bug.