Hi, I’m receiving 401 errors from the patient lookup in PDS. Our application ID is d3317c61-3c51-4b7e-8770-f42a9d9c6885, and this is set up with:
- personal-demographics-int-privileged-application-restricted,
- personal-demographics-int-application-restricted, and
- e-referrals-service-api-int-application-restricted permissions.
Any help appreciated.
{
"status_code": 401,
"url": "https://int.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient/9728331355",
"error_body": {
"issue": [
{
"code": "forbidden",
"details": {
"coding": [
{
"code": "ACCESS_DENIED",
"display": "Access Denied - Unauthorised",
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1"
}
]
},
"severity": "error"
}
],
"resourceType": "OperationOutcome"
},
"event": "http_error_response",
"level": "error",
"timestamp": "2026-01-22T14:47:56.848335Z"
}