INT A008 403 error - SERVICE_PROVIDING_ORGANISATION role missing

Hello,

I hope you’re doing well.

We are currently stuck on a 403 error when trying to use the INT A008 endpoint. the userId returned matches to the user id written on the back of the smartcard that NHS England sent to us.

The error is as follows:
{
“meta”:{
“profile”:[
FHIR Reference Server eRS-OperationOutcome-1
]
},
“resourceType”:“OperationOutcome”,
“issue”:[
{
“severity”:“error”,
“code”:“forbidden”,
“details”:{
“coding”:[
{
“code”:“FORBIDDEN”,
“system”:“FHIR Reference Server eRS API Error Code”,
“display”:“Forbidden”
}
]
},
“diagnostics”:“Supplied organisation does not have required role=SERVICE_PROVIDING_ORGANISATION. userId=xxxxxxxxxxxx odsCode=xxxx”
}
]
}

we would greatly appreciate if anyone can help!

Many thanks,

Hi @Alvin,

Welcome to the forum.

From the error I am assuming you are are attempting to make an application-restricted call. It appears there is an issue with the Organisation that is configured for application restricted access against your Application. This was configured during your onboarding by the NHS e-RS Partners Team.

The Organisation configured must be a Service Providing Organisation, typically the trust from your test data pack.

Please reach out nhserspartners@nhs.net to get this resolved.

@nhserspartners FYI