Hi,
I’m trying to call the A042 - Get Document API call but I’m getting a 403 - Forbidden error.
I can’t see what I’m doing wrong. Here are some details:
https://int.api.service.nhs.uk/referrals/FHIR/R4/Binary/6b0c6f91-f0db-40f7-9dd0-e8c2dfb1b5bb
XCorrelationId: 7F0E0798-8AED-FE40-AF58-2AFFDFE70510
The error I’m getting is:
{"resourceType": "OperationOutcome","meta": {"lastUpdated": "2026-08-11T10:17:13.584Z","profile": ["https://www.hl7.org/fhir/R4/operationoutcome.html"]},"issue": [{"severity": "error","code": "forbidden","diagnostics": "Cannot generate shared URL for download from location: nhsd-ers-fileattachments-int-staging, upload ID 162817","details": {"coding": [{"system": "https://fhir.nhs.uk/CodeSystem/http-error-codes","code": "REC_FORBIDDEN"}]}}]}
I’m passing a valid OAuth token in the Authorization header.
Do I need to get this API added to our authorised list?
Thanks in advance.
Jim Brock