Hi,
Calling the A024 - Get Referral Summary is returning an HTTPStatus code = 502
The value returned is:
{“fault”:{“faultstring”:“Received 405 Response without Allow Header”,“detail”:{“errorcode”:“protocol.http.Response405WithoutAllowHeader”}}}
The URL used is:
https://int.api.service.nhs.uk/referrals/FHIR/STU3/CommunicationRequest/000049791136
The XCorrelationId = D351EB0D-3A45-6C4B-82A7-F4A59A07ADA1
Is this anything we are doing? Could someone have a look please?
Thanks
Hi @jim.brock,
It looks like there a two things going on here:
- You are calling A024 using a POST request rather than a GET. If you switch to GET it should work as expected.
- The API Management platform is expecting that when a HTTP 405 (Method Not Allowed) error is returned that we return an “Allow” header (this would included the allowed HTTP verbs).
You should be able to resolve (1). I’ll raise something our side to look into (2).
Thanks.
Thanks @adam.oldfield Adam,
This has also helped to test our error trapping paradigm so we have some fixes to do but will then try using a GET.
Jim