Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-33723

PDF generator status endpoint gives 400 instead of 404

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • No
    • Plat-Ex Services Sprint 19
    • Low

      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.

              bholifie Blake Holifield (Inactive)
              btweed@redhat.com Brandon Tweed
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: