Not receiving hip/request call from hip gateway

@IntegrationSupport

Hi,
I am not able receive “hip/request” call for data transfer initiation from gateway on calling “/consents/hip/on-notify”, for which the response is “202 ACCEPTED”.

curl --location ‘https://dev.abdm.gov.in/gateway/v0.5/consents/hip/on-notify
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2Nzc2NzEwODcsImlhdCI6MTY3NzY3MDQ4NywianRpIjoiMDJhZTQ3OTMtNzNkMy00OGQ2LThjYTYtZTBkZjE0NGEwOTFiIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiI2ZjQzNzMxMC01NTBlLTQyNWEtOGVhMi1jOTljZGFjMGI5ODciLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAyMjI1Iiwic2Vzc2lvbl9zdGF0ZSI6IjM3M2U3OGZlLWNjZDktNDk5Mi1iOGM3LTFhNGY0NGEyYTQxZSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDIyMjUiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRJZCI6IlNCWF8wMDIyMjUiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsImNsaWVudEhvc3QiOiIxMC4yMzMuNjcuMjM3IiwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXNieF8wMDIyMjUiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY3LjIzNyJ9.XMs9ticp_nhnkAxPCQNdGI-Oijx6mSm–tmsYO6GLOLDGX6ZJTGqcGSP7eok2fVBqyp_i1h7IFWkW8wYaNFMTGBvpr2YzxZLNUCdfdLkveayMZnSIgrg59b9U5OsnGtgV7b2DPOf4OqycORQTAcWqRX57n5lf1NbsW4UVLWBRe7X7xJw_HiqCbQ6jVLoUzS1INJq48v8AvmsTBVKwfoJ17IMegTGVFdg6HBfJOyHYzNCMrdKR7yR1FItQVmfoeESTTVEALWPJ6YlH1DgxdnNTpoCaWj-nMY8sgpho1y8kWK_dZ7sYRVF_DSVy2TXLEHxFCoMGls6_qoDkd-eK8ED9w’
–header ‘X-CM-ID: sbx’
–header ‘Content-Type: application/json’
–header ‘Cookie: Cookie_1=value; TS011c04bd=01445fed043546fd38305d1d5090d2b940fcf7f45809ea1312a3e0d0f3e20e18eb3776ebd481d7c730932001006ce3c39c0d34f71f’
–data ‘{
“requestId”: “f2ade86b-ca5d-4486-a7bd-e03b11ff05d2”,
“timestamp”: “2023-02-20T12:51:38.331000”,
“acknowledgement”: {
“status”: “OK”,
“consentId”: “66bf5e38-35d8-4f60-875f-9f923b0f7e43”
},
“error”: {
“code”: 1000,
“message”: “string”
},
“resp”: {
“requestId”: “2a57c401-f75c-495c-a076-49090f4e036e”
}
}’

Please check and update

@IntegrationSupport

Can you provide an update on this?

@IntegrationSupport
can you help resolve this problem?

Are you getting response on webhook URL?

@IntegrationSupport

–>No. Another callback response is getting But only v0.5/health-information/hip/request callback response is not getting after call v0.5/consents/hip/on-notify.

@IntegrationSupport,
I am facing the same issue .
After v0.5/consents/hip/on-notify., I am not getting call back request of v0.5/health-information/hip/request.
Are we missing something?

The API flow we are using after consent approval is:

As HIU
-> (callback) https://dev.abdm.gov.in/gateway/v0.5/consents/hiu/notify
->https://dev.abdm.gov.in/gateway/v0.5/consents/hiu/on-notify

As HIP:
-> (callback) https://dev.abdm.gov.in/gateway/v0.5/consents/hip/notify
-> https://dev.abdm.gov.in/gateway/v0.5/consents/hip/on-notify

As HIU:
-> https://dev.abdm.gov.in/gateway/v0.5/health-information/cm/request
-> (callback) https://dev.abdm.gov.in/gateway/v0.5/health-information/hiu/on-request

After this we are supposed to get a callback on v0.5/health-information/hip/request from Gateway. But it’s not happening.

okay, we will have this checked with technical team.

Hi, Meanwhile can you please check FHIR bundle which is being created. Did you validate your FHIR bundle? Please try once with the below FHIR Bundle.

Valid FHIR bundle link:
https://sandbox.abdm.gov.in/bundles/PrescriptionDoc.json

Before encryption the FHIR Bundle please validate the bundle:
Validator GUI

This validator should not throw errors.

Okay thanks.
But what I understand is this FHIR part will be done while sending the data i.e post this request, right?

Can you share your client-id please ?

@IntegrationSupport
Client_id : SBX_002225_HIU.
Please check urgent basis.you have not resolve the issue last 15 days.

v0.5/health-information/hip/request is working fine. Can you please check if the data is in correct FHIR format? You can use this link to check:- https://validator.fhir.org/

@IntegrationSupport We are also not receiving hip/request callback. Can you pls let us know how to resolve this . We are getting 202 accepted while sending “on-notify” call to abdm.

@preeti Are you getting datapush URL for this api [v0.5/health-information/hip/request] HIP should get URL to push the data in this API. Also , there have been infra related issue in this api since last 15 days. It is working for few of the integrators and not working for few of the integrators. However, technical team is trying to fix this issue.

@IntegrationSupport today when we tried we are not even getting the call back on

(callback) https://dev.abdm.gov.in/gateway/v0.5/consents/hip/notify when we click on “Pull Records” on ABHA PHR App. Can you pls check what is the issue. We are stuck on this since long.

As we have checked , pull record is working intermittently. Please try once at a time in intervals.