403 on Retrieve attachment (A042, FHIR R4)

Hello,

We are getting some 403s when hitting Retrieve Attachment API (link).

With the message:

"eRS response [1/1]: {\"resourceType\":\"OperationOutcome\",\"meta\":{\"lastUpdated\":\"2026-08-24T08:16:24.324Z\",\"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-production-staging, upload ID <DOCUMENT_ID HERE>\",\"details\":{\"coding\":[{\"system\":\"https://fhir.nhs.uk/CodeSystem/http-error-codes\",\"code\":\"REC_FORBIDDEN\"}]}}]}"
Correlation ID: 4e3752b7-4df8-4dfd-aa76-00d8973810df

Our service had been running for a while, so it’s nothing that we changed. The errors started on Friday 21 at 9pm.

@Benjamin_Michel Which environment is this in please? :slight_smile:

Hi Tony,
It’s for prod environment.

Here is another example:
Correlation ID: 7cc0de84-553c-4c48-86bb-a466af52085f
Response:

{\"resourceType\":\"OperationOutcome\",\"meta\":{\"lastUpdated\":\"2026-08-24T09:56:37.548Z\",\"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-production-staging, upload ID <DOCUMENT_ID HERE>\",\"details\":{\"coding\":[{\"system\":\"https://fhir.nhs.uk/CodeSystem/http-error-codes\",\"code\":\"REC_FORBIDDEN\"}]}}]}

Hi @Benjamin_Michel

If it’s production please can you create a national service desk ticket. This is managed by live service team.

One thing to note, there was a deployment on Friday - the service might have been down for a period in which some of the issue occured.

https://digital.nhs.uk/services/e-referral-service/live-service-information-and-alerts