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

[export-service] export api requests return 400 when using identity cert auth

XMLWordPrintable

      When I make export service api requests using identity cert auth, the response is always 400.  Compounding this is the lack of an error message, so I don't know what's wrong.  For example, this is the response:

      HTTP response headers: HTTPHeaderDict({'Content-Type': 'application/json; charset=utf-8', 'X-Content-Type-Options': 'nosniff', 'X-Rh-Insights-Request-Id': 'export-service-service-78bc6888d6-lklbz/sy1UzW8dt1-000001', 'Date': 'Thu, 22 Aug 2024 14:34:56 GMT', 'Content-Length': '26'})
      HTTP response body: {"message":{},"code":400}

      Note, the message is empty.

      Looking at the pod logs, the message is also empty:

      {"level":"info","@timestamp":"2024-08-22T15:12:10.6533Z","caller":"logger/logger.go:95","msg":"","protocol":"HTTP/1.1","request":"POST","path":"/api/export/v1/exports","latency":0.000094983,"status":400,"size":26,"request_id":"export-service-service-78bc6888d6-lklbz/sy1UzW8dt1-000028"}

       

              rhn-support-dehort Derek Horton
              msager@redhat.com Michael Sager
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: