Uploaded image for project: 'FOLIO'
  1. FOLIO
  2. FOLIO-3299

Calls to mod-patron in prokopovych scratch environment returning error messages

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Cannot Reproduce
    • None
    • None
    • DevOps Requests
    • FOLIO DevOps

    Description

      Overview:

      When sending valid requests for patron data to endpoints in mod-patron, the system returns an error message that does not seem to be coming from mod-patron itself.

      Steps to Reproduce:

      1. Generate a valid token for the prokopovych scratch environment: https://core-functional.ci.folio.org/
      2. Send a GET request using postman or CURL to the /patron/account/ endpoint using any valid patron ID number. I've been using bec20636-fb68-41fd-84ea-2cf910673599

      Expected Result:

      I should get patron account data.

      Actual result:

      End point returns: Accept header must be ["application/json","text/plain"] for this request, but it is "", can not send /

      Additional Information:

      It returns this message no matter what the accept header is set to.

      An identical request using a valid patron id sent to mod-patron on snapshot returns account data, as expected, so I'm reasonably sure my request is correct.

      URL:
      Interested parties:

      hleb_surnovichaliaksei_luhavy

      TestRail: Results

        Attachments

          Activity

            People

              Unassigned Unassigned
              felkerk Kyle Felker
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases