We are testing API A042 in our INT environment but we keep getting the error ‘The remote server returned an error: (403) Forbidden’.’ Referral attachments are not pulling through even when trying to re sync. Please can our end points & ASIDs be checked to ensure there are no gaps or errors? We haven’t done any other internal config which we would anticipate causing this error to appear.
SPINE ERS API APPLICATION ENDPOINT-RH8]
SPINE ERS API USER ENDPOINT-RH8
SPINE ERS API APPLICATION ENDPOINT-RA9
SPINE ERS API USER ENDPOINT-RA9
Hey Abbey,
Could you provide the application ID’s being used to make the calls please?
Have you previously successfully used this endpoint call in the environment before?
Tony
Hi Tony,
RH8 Epic e-RS RAS - INT - e-Referral Service, Application Restricted - 548a2f33-d9e9-4745-b193-acdf454aa8ae
RH8 Epic e-RS RAS - INT - e-Referral Service, Healthcare Worker - 274b4d29-e75c-460f-a33c-5cd753541ea1
RA9 Epic e-RS RAS - INT - e-Referral Service, Application Restricted -c618c1ab-d3b8-4194-a739-6e237bf9f8c9
RA9 Epic e-RS RAS - INT - Healthcare Worker -b0e595e5-4532-4e71-a5d4-3ade921344ab
Hi Tony,
We reached out to EPIC looking at some of the trace files. They have noted this:
<diagnostics>**The ASID (200000002257) does not have the interaction (urn:nhs:names:services:ers:READ_BINARY_R4_V001) required to call this endpoint.**</diagnostics>
This ASID returning in the trace files does not match what we have been told are in INT for RH8/RA9:
all the ASIDs you have attached to your apps have the latest product, therefore contain A042.
200000002740
200000002739
200000002744
200000002745
Hi Abbey,
Thanks for updating me - I will look into this tomorrow morning - but that trace has certainly uncovered something.
Perhaps I made a mistake in investigation - I will keep you updated.
Tony
@Abbey_Deakin
This is my mistake. For some reason, I checked details for Plymouth (RK9) - (which you did not even ask me to!) and not Royal Devon - which you’ve correctly identified is failing (and that asid is attached to the RH8 app)
I have sent a request to amend this, I’m really sorry.
Hi Tony,
No worries at all and thank you so much for checking. Please can you check API A042 is enable for RA9 as well as we will want to test both RH8 & RA9 in our INT environment. Does RK9 also have this API enabled? We will want to start testing for that Trust as well.
Hi Abbey
It was just the failing ASID that is currently being checked. The other x4 asids associated with the other 2 organisations have been checked and have it on 
I still haven’t heard back from the team on the one causing the issue but i’ll see where they are with it in the morning - if I havent heard from them before.
RA9/RK9 should both work currently.