Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-1853

Collection version API endpoint throwing 500 error only on Stage

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • crc-2022-09-07
    • Unspecified
    • None
    • None

      Description

      This URL is working on Prod AH but not on Stage AH:

      /api/automation-hub/_ui/v1/repo/published/amazon/aws/?version=3.0.0 

      On Stage, it returns a 500 error. Amazon.aws is just used as an example, as you cannot access any collection version directly in the UI API on Stage. 

      Without version specified, this URL works on Stage:

      /api/automation-hub/_ui/v1/repo/published/amazon/aws/

      Steps to Reproduce

      Test this URL: https://console.redhat.com/api/automation-hub/_ui/v1/repo/published/amazon/aws/?version=3.0.0

      Add stage into the same URL:

      https://console.stage.redhat.com/api/automation-hub/_ui/v1/repo/published/amazon/aws/?version=3.0.0

      Actual Behavior

      Returns Server Error <500>

      Expected Behavior

      Returns <200> and data. 

              semighdo@redhat.com Shaiah Emigh-Doyle
              alhart@redhat.com Alison Hart
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: