Hi Team,
We are having issues trying to download attachments for a test referral using the A006 Endpoint, I am getting 502 responses with a fault string of “Received 405 Response without Allow Header”.
My understanding from historical posts on this forum is that this happens when we try and call an endpoint with the wrong HTTP method but I am sure that I am sending a GET request.
The details of my request are as follows:
Access Mode: Application-Restricted Access.
Authorisation: Bearer Token, used successfully moments ago to get AttachmentIDs.
Accept: “/” to ensure whatever the attachment type we accept it.
X-Correlation-ID: “TEST_A006_UUID”
Request Paths: “https://int.api.service.nhs.uk/referrals/FHIR/STU3/Binary/#DocumentReference-118590” & “https://int.api.service.nhs.uk/referrals/FHIR/STU3/Binary/#DocumentReference-118592”
Can you advise what our issue is here?
Many Thanks,
Dave
EDIT:
In light of the email that went out from eRS Partners this morning about the upcoming deprecation of the A006 endpoint and release of the new A042 endpoint I would like to extend my query to cover that new endpoint to ask whether we can expect this issue to continue when moving to using A042 to retrieve attachments and if more descriptive error handling has been implemented for the new endpoint?