Hi I am getting the following error with my integration api: - The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. Can anybody help with this? I am trying to test through postman. I have turn off Retain headers when clicking on links
Hello Stuart,
Can you please provide the details of the steps you followed prior to receiving the 404 error please.
These details will help diagnose the issues you are facing.
Kind regards,
Balal
Hi Balal,
I obtain the bearer tokens, at the moment I am trying to use postman to call the api.
The URL I am calling is: GET https://int.api.service.nhs.uk/referrals/fhir/R4/Binary/d9506638-eec1-4bb6-8668-3b6e9c0bd67c
The headers I am using are:
x-correlation-id: xxxx-xxxx-xxxxx
Accept: application/fhir+json
Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXX
Hi, do you know if there is a resolution to this please as still struggling, any help would be appreciated
Good morning Stuart,
Can you try the following:
Changing the following:
Accept: application/fhir+json
to
Accept: */*
Thanks,
Balal
Hello Stuart,
Can you please describe the steps you have taken prior to making the A042 request?
Can you explain how you got the attachment id which you are using?
Can you please include everything you are using for the request to A042, including the body and all parameters.
The above will help us diagnose the issue you are facing.
Thanks,
Balal
HI Balal,
I am using the referral request https://int.api.service.nhs.uk/referrals/FHIR/STU3/ReferralRequest/ then obtaining the these details for example:
“contentType”: “text/rtf”,
"url": "Binary/38fcfaf4-939f-4446-82d2-0405fd8093b1",
"size": 548,
"title": "clip_alexis_referral_summary_2025_09_23.rtf",
"creation": "2025-10-01.
I’m taking the id from the url to try and call the retrieve attachment api
Thanks
Stu
Hi Balal, is there anything else you need regarding the information I need to give you?
Hi Stuart,
We are currently investigating this for you.
Thanks,
Balal
