I tried to call INT eRS API but failed with below error, would you please advise what information I missed?
The A008 request and response for your reference:
POST https://int.api.service.nhs.uk/referrals/FHIR/STU3/ReferralRequest/$ers.fetchworklist
Accept: application/fhir+json
Content-Type: application/fhir+json
User-Agent: bruno-runtime/2.14.2
nhsd-end-user-organisation-ods: RYY
nhsd-ers-business-function: SERVICE_PROVIDER_CLINICIAN
Authorization: Bearer gs1VCi14fGcKOebHvZpMgAKwDA4B
{
"resourceType": "Parameters",
"meta": {
"profile": [
"https://fhir.nhs.uk/STU3/StructureDefinition/eRS-FetchWorklist-Parameters-1"
]
},
"parameter": [
{
"name": "listType",
"valueCodeableConcept": {
"coding": [
{
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-ReferralListSelector-1",
"code": "AWAITING_BOOKING"
}
]
}
}
]
}
SSL validation: enabled
ALPN: offers h2, http/1.1
CA Certificates: 150 root, 111 system, 0 extra, 0 custom
Trying int.api.service.nhs.uk:443...
DNS lookup: int.api.service.nhs.uk -> 35.234.138.138
Connected to int.api.service.nhs.uk (35.234.138.138) port 443
SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 (TLSv1/SSLv3)
ALPN: server accepted None
Server certificate:
subject: C=GB, L=Leeds, O=NHS Digital, CN=int.api.service.nhs.uk
start date: Aug 26 00:00:00 2025 GMT
expire date: Apr 27 23:59:59 2026 GMT
subjectAltName: DNS:int.api.service.nhs.uk
issuer: C=US, O=DigiCert Inc, CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1
SSL certificate verify ok.
there was an error executing the request!
HTTP/1.1 422
date: Wed, 11 Feb 2026 13:45:31 GMT
content-type: application/fhir+json
transfer-encoding: chunked
connection: keep-alive
x-content-type-options: nosniff
x-xss-protection: 0
cache-control: no-cache, no-store, max-age=0, must-revalidate
pragma: no-cache
expires: 0
x-frame-options: DENY
strict-transport-security: max-age=31536000; includeSubDomains
x-request-id: 5e49cd13-b1a5-4b46-99f6-2b58021dd886-1
request-duration: 222
"{\"meta\":{\"profile\":[\"https://fhir.nhs.uk/STU3/StructureDefinition/eRS-OperationOutcome-1\"]},\"resourceType\":\"OperationOutcome\",\"issue\":[{\"severity\":\"error\",\"code\":\"business-rule\",\"details\":{\"coding\":[{\"code\":\"INAPPROPRIATE_VALUE\",\"system\":\"https://fhir.nhs.uk/STU3/CodeSystem/eRS-APIErrorCode-1\",\"display\":\"Inappropriate value\"}]},\"diagnostics\":\"Business Function (SERVICE_PROVIDER_CLINICIAN) is not valid for AWAITING_BOOKING worklist\"}]}"
