I have been directed to this forum for help on this case
We have recently been setting up and testing our eRS Referral Downloader (using application-level authorisation) against the new eRS APIs on the DEP environment
Customer: WIRRAL UNIVERSITY TEACHING HOSPITAL NHS FOUNDATION TRUST
ODSCode: RBL
Application Name: WASP Referral Downloader-DEV-Wirral
Application Id: 5c2bde13-5a09-4fa6-8683-d84689a14e87
xCorrelationId: 4597249C-8DC6-E34F-B18D-5925D6099B83
UBRN being downloaded: 000049527104
Call being made: A005:RetrieveReferralRequest
https://dep.api.service.nhs.uk/referrals/FHIR/STU3/ReferralRequest/000049527104
Response: 404:Resource Not found. The requested resource(e.g.A UBRN, NHSNumber, Attachment, Lock etc does Not exist And cannot be returned). Check the search term entered was correct
Hi @simon.goodinson,
The base URL for the DEP environment is:
https://dep.api.service.nhs.uk/referrals-dep
Note the -dep
suffix.
Regards,
Adam.
Hi @adam.oldfield thanks for getting back to me the 500 error details are below
JSONRequest
https://dep.api.service.nhs.uk/referrals-dep/FHIR/STU3/ReferralRequest/000049527104
JSONResponse
500:Internal server Error. An unexpected internal server Error occurred. Reload(relogin If necessary) And Try again
xCorrelationId
77415294-C86D-F149-BB16-A3078C373A95
Hi @simon.goodinson,
I’m not seeing any traffic for that correlation ID or your application ID on our side.
Was there a response payload?
Are you able to determine if the call made it out of your infrastructure, or if the issue could be internal?
Thanks.
@nhserspartners I don’t see an ASID associated with the Application ID 5c2bde13-5a09-4fa6-8683-d84689a14e87 (quoted in this topic). Was this configured?
@adam.oldfield , @nhserspartners . This endpoint was created via the developer portal and we don’t get to see an ASID. I have re-checked the ClientId and secret, which looked good and tested again. Same outcome
2024-03-15 13:09:46
new xcorrelation - 7653AF69-0E6C-6F4A-ADD9-3BFDB61C52F1
@nhserspartners . Is there any update to the question from @adam.oldfield on this?
Can you confirm the request made it out of your infrastructure?
Also can you provided all the details of the request/response including headers and payloads.
Thanks.
@adam.oldfield I’m presuming you are not seeing traffic because of the 500 error thrown closer to the front door. The response is from the eRS server in my opinion and therefore has made it out.
The request
https:// dep.api.service.nhs.uk/referrals-dep/FHIR/STU3/ReferralRequest/000049527104
Note: I have put a space in the URL as the response fails without it
The Response
500:Internal server Error. An unexpected internal server Error occurred. Reload(relogin If necessary) And Try again
Meeting held on the 20/03/2024
WIRRAL Issues
- DEP issue was due to missing application restricted configuration on the product.
- We also discussed ensuring the PROD configuration and approvals were complete.
Actions are with @nhserspartners