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: