Hi, I am currently in the process of trying to use the INT environment - I have successfully obtained authorisation token - but on making an A005 call , I am receiving a HTTP 500 Internal Server Error response with no content.
I am attempting to GET from the following URL https://int.api.service.nhs.uk/referrals/FHIR/STU3/ReferralRequest/000049802039
The Correlation ID for the most recent request was a36614ef-5e53-4f98-b37c-9da0c45a691b (made 16-May-2025 @ 10:47:36 )
If you could investigate the cause - please let me know if you require any further information.
many thanks
Matthew Lavender
Hi @Matthew_Lavender,
The issue we are seeing is that the user authenticated 555338157103
could not be found in the user directory (SDS INT).
Can you confirm how you are authenticating? Generally speaking the expectation is that you will be using real CIS2 authentication with their INT environment.
If you are using the APIM mock authentication then you must ensure the user provided is a valid user in the SDS integration environment as the e-RS back-end will validate this.
@Daniel_McAdam FYI.
Regards,
Adam.
Thanks @adam.oldfield
We are attempting to authenticate using what will be unattended (no user) , Application-restricted access (through a signed JSON Web Token ) , this was utilising the API developer guides (specifically the section called " Application-restricted RESTful APIs - signed JWT authentication" - which seems to have been successful in INT apart from the A005 call itself. (let me know if there is something else I need to consider)
Hopefully this confirms how we are attempting to authenticate - but do let me know if you need any more info.
thanks
Matt
Hi @Matthew_Lavender,
I do apologise, I somehow overlooked you were making an application-restricted call. In that case the user is taken from configuration that will have been setup by the e-RS partners team based on your dataset in INT.
@nhserspartners @lucy.killick1 Matthew and The Royal Wolverhampton NHS Trust have had their Application setup (ID=d76087d5-9267-463f-8e30-f8fd2898de6a
) with:
- ODS Code:
I7V3M
- User ID:
555338157103
Which looks correct according to our dataset. However, when Matthew makes a call the e-RS is reporting that a user with ID 555338157103
does not exist in SDS.
Can we confirm this information is correct?
Thanks,
Adam.
Apologies @Matthew_Lavender we should have bound UUID 555338152104 when setting you up, and not 555338157103. I’ve submitted this change and will confirm when it’s done - this should then fix the issue.
Kind regards,
Lucy
this has now been updated so hopefully that has fixed your issue?
Hi - yes this does seemed to have worked - many thanks for your help