Hi team,
I am trying to make a connection with GP Connect ARHTML API in INT env via SSP proxy url.
I have obtained the provider service root url from SDS FHIR API (using /Endpoint). 400 Bad Request: “{ “id”: “89921316-47f6-434b-b2d9-2f16e57719e5”, “issue”: [ { “code”: “invalid”, “details”: { “coding”: [ { “code”: “400”, “display”: “ENDPOINT**https://GPConnect-Win1.itblab.nic.cfh.nhs.uk/gpconnect-demonstrator/v0/fhir_CPAID_5604031408131f90b131_VARIES_FROM_TARGETURL_https:///GPConnect-Win1.itblab.nic.cfh.nhs.uk/gpconnect-demonstrator/v0/fhir/Patient/$gpc.getcarerecord", “system”: “http://fhir.nhs.net/ValueSet/gpconnect-schedule-response-code-1-0” } ] }, “diagnostics”: "ENDPOINThttps://GPConnect-Win1.itblab.nic.cfh.nhs.uk/gpconnect-demonstrator/v0/fhir_CPAID_5604031408131f90b131_VARIES_FROM_TARGETURL_https:///GPConnect-Win1.itblab.nic.cfh.nhs.uk/gpconnect-demonstrator/v0/fhir/Patient/$gpc.getcarerecord**”, “severity”: “error” } ], “resourceType”: “OperationOutcome”}”
I am using this end url: https://proxy.int.spine2.ncrs.nhs.uk/https://GPConnect-Win1.itblab.nic.cfh.nhs.uk/gpconnect-demonstrator/v0/fhir/**Patient/$gpc.getcarerecord**
If I Use the same url directly to access the GP Connect service via postman, this is working fine. but if I give the same url from my code, I am getting the above error.
May I know in what scenarios the above error can occur?