Not getting /v0.5/health-information/hip/request response even after 202 on on-notify response

We are not getting callback for /v0.5/health-information/hip/request from ABDM at our end point URL after responding with /v0.5/consents/hip/on-notify. Following is the request body for /v0.5/consents/hip/on-notify

{

“acknowledgement”:{
“consentId”:“7c89bdf7-8382-4e21-a969-b77e0eead73c”,
“status”:“OK”
},
“resp”:{
“requestId”:“b8254f3f-0a5a-4bdf-a08b-c71dfef8b3f5”
},
“requestId”:“3ff42db2-d912-4148-8f22-f8ca0797e62c”,
“timestamp”:“2023-01-13T11:40:30.563Z”

}

and callback reponse for notify is

{“notification”:{“consentDetail”:{“consentId”:“7c89bdf7-8382-4e21-a969-b77e0eead73c”,“createdAt”:“2023-01-13T11:40:29.827129”,“purpose”:{“text”:“Care Management”,“code”:“CAREMGT”,“refUri”:null},“patient”:{“id”:“deeptomar@sbx”},“consentManager”:{“id”:“sbx”},“hip”:{“id”:“purpledocs”,“name”:“purpledocs”},“hiTypes”:[“Prescription”],“permission”:{“accessMode”:“VIEW”,“dateRange”:{“from”:“2022-11-01T11:39:00”,“to”:“2023-01-13T11:39:58.896”},“dataEraseAt”:“2023-01-14T11:39:58.896”,“frequency”:{“unit”:“HOUR”,“value”:1,“repeats”:0}},“careContexts”:[{“patientReference”:“PUID-00001”,“careContextReference”:“visit-87edff7e-9a1b-445f-9c1f-f2cf1b2f571b”},{“patientReference”:“PUID-00001”,“careContextReference”:“purple-care-deeptomar@sbx-60ed4edd-6146-4773-a460-e27538ce94f7”},{“patientReference”:“PUID-00001”,“careContextReference”:“purple-care-deeptomar@sbx-087b64b9-4fb0-4ec7-8b60-953e9e331635”},{“patientReference”:“PUID-00001”,“careContextReference”:“PUID-00001”},{“patientReference”:“PUID-00001”,“careContextReference”:“purple-care-deeptomar@sbx-ad5846dd-7256-4b9d-b167-61bb8f833833”}]},“status”:“GRANTED”,“signature”:“YinVkS4hRmm1HlmjKEJYwXDUx24rTlCk8g14YXPCw3JLCWTYs8cs6556K6qbyqv7VlY4wFjyHbpNVyMz/52uL/LihOrR1CSZ+oIQtDBmvSKFGDMvzG7D7SRMoPcErkKSs69KdZ7NZ6kTZJTyr4xK6yQHUBBuPKme/bZX0+qWHrrtfZHlP65S9ZzwAh42n0dIqobXTriTonfTPXLR2SvGtt52jR15B4K2D3AT8qoH9JRcLv8J7/S5S/ENx1c5W+gQhEpDLxdnp6rsuR4iZ2sFkD5Lda2Up6TxgHzKTDWyM8sRXs0KkuhyUz8qT0q/FOWrwp5ohF5UcHlXG3W4ObJ/rQ==”,“consentId”:“7c89bdf7-8382-4e21-a969-b77e0eead73c”,“grantAcknowledgement”:false},“requestId”:“b8254f3f-0a5a-4bdf-a08b-c71dfef8b3f5”,“timestamp”:“2023-01-13T11:40:29.853569”}

also after hitting on notify url response code is 202
but still haven’t got any callback for request
@IntegrationSupport
@Ramandeep1

1 Like

@Shubhanshu_S @IntegrationSupport @kiranma @Ramandeep1 ???

Hi @deeptomar93,
Please check We are getting Response on Webhook Screen Shot Attached for /v0.5/consents/hip/on-notify Please Use this Curl

curl --location --request POST 'https://dev.ndhm.gov.in/gateway/v0.5/consents/hip/on-notify’ \

–header ‘accept: /’ \

–header ‘Content-Type: application/json’ \

–header ‘X-CM-ID: sbx’ \

–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NzM5NTYwNDIsImlhdCI6MTY3Mzk1NTQ0MiwianRpIjoiNGE0NDhjNTctYzU4MC00MzY2LWI2NTEtOGQ1ZTg0ZGFmOWMzIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIzY2ZlMGQzNS1kNzNjLTQ5YTctOWE5OS0wNjgzZDhiZjcyY2MiLCJ0eXAiOiJCZW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vhYfrsm3p8dVIt-KrZq4gjSh8ue5g’ \

–header ‘Cookie: TS01960242=01445fed04cea1e41d86d59eaa80893346061f25cdccec0e1b73c2e48146bee441c5c8452fba3382177875eb1223353079a1c8f9b7’ \

–data-raw '{

“requestId”: “e044af7a-6886-4c69-83d3-4efd20b4494d”,

“timestamp”: “2023-01-17T11:48:18.506000”,

“acknowledgement”: {

“status”: “OK”,

“consentId”: “d602da3b-7356-4e5b-9af7-6f653f258a45”

},

“error”: null,

“resp”: {

“requestId”: “e25e8690-d8fc-4222-8763-d92bf871914a”

}

}’

the url says
/v0.5/consent-requests/on-init
@Deepak-LTI

in response of notify callback
We are getting 202 accepted

but still
there is no hip/request for data

@Deepak-LTI
if u can brief the sequence of api callback
and correct me if i’m wrong

  1. generate the consent from HIU
  2. in abha app i get the consent request for accept or deny
  3. when i grant the consent i get the callback on
    /v0.5/consents/hip/notify

and there after i redirect the request to
https://dev.abdm.gov.in/gateway/v0.5/consents/hip/on-notify
and in response
we get 202 accepted
but as per the document
there should be a request for data and we should get a callback on
/v0.5/health-information/hip/request
for data
but even after 202 we are not getting any request

Hi @deeptomar93,
The Sequence you are using is correct. Wait for 5 - 10 Min Because its taking time in Giving Response but Getting Response.

@Deepak-LTI i’ve been waiting for 3 days still got no response ,then i raised the issue

@deeptomar93 - please share your email id, we can connect today, virtually, at 12:00pm. We will share with you meet link

@deeptomar93 Please follow the below API curl and verify it. Do ler us know

curl --location --request POST ‘https://dev.abdm.gov.in/gateway/v0.5/consents/hip/on-notify
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NzQxMjI2NzEsImlhdCI6MTY3NDEyMjA3MSwianRpIjoiYjczMjM4YmEtNjljMy00M2Q3LWI3YTctODBiMjgyYjk5ZTA0IiwiaXNzIjoiaHR0cHM6Ly9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xz5U_uPKLKI8qeHY7Wyc81uOxDyY9XMm7Q5LDo7NuesP__edhW80Nz1M5x1X7T90Fq-shwD0iN7hz-2jLQhClxQcCuZkP_LX-7E6Cf4DSuOBYIoZseeKKRE_ZB8dETqCS26m_lWipToX_kRj_Abwcvl2bRAb4CAoGIOipVMvw8cAoMfZxMivQXROBWKWEKA’
–header ‘X-CM-ID: sbx’
–header ‘Content-Type: application/json’
–header ‘Cookie: TS011c04bd=01445fed048ebf483f05fd3e822a59afa625fbc977632a642c8d369298de4a38d68f6a15f5dc2ba2404fd037ad958fb50fdc066f4e’
–data-raw ‘{
“requestId”: “bf1c0a8c-2e22-4b19-a044-5b631f6e5b29”,
“timestamp”: “2023-01-19T07:40:41.877000”,
“acknowledgement”: {
“status”: “OK”,
“consentId”: “cc629772-719a-4cb9-a994-0326f268380d”
},
“resp”: {
“requestId”: “9e337735-0f60-4357-b4e0-9fc6390edba1”
}
}’

Thanks.

@SARCH1
attaching screenshots
and mailed you also


requesting solution
Regards

@deeptomar93 @Deepak-LTI @IntegrationSupport
We have also same issue in last 3 days.
We re getting 202 Accepted code on https://dev.abdm.gov.in/gateway/v0.5/consents/hip/on-notify.
But not getting call back /v0.5/health-information/hip/request from ABDM

Client ID: SBX_000498

@jinju87
even we are facing same issue and in continuous contact with ABDM Integration team
keep watching this chat thread i hope we both will get updates

1 Like

@deeptomar93 Is it fixed in your case ?

@jinju87
haven’t received any update on this
still waiting on this

@deeptomar93 Any update

@deeptomar93 can u paste the resolution here so that @jinju87 can also proceed with his development activities.
Thank you

@jinju87
@jinju87
my hip/notify callback request is -
{“notification”:{“consentDetail”:{“consentId”:“7c89bdf7-8382-4e21-a969-b77e0eead73c”,“createdAt”:“2023-01-13T11:40:29.827129”,“purpose”:{“text”:“Care Management”,“code”:“CAREMGT”,“refUri”:null},“patient”:{“id”:“deeptomar@sbx”},“consentManager”:{“id”:“sbx”},“hip”:{“id”:“purpledocs”,“name”:“purpledocs”},“hiTypes”:[“Prescription”],“permission”:{“accessMode”:“VIEW”,“dateRange”:{“from”:“2022-11-01T11:39:00”,“to”:“2023-01-13T11:39:58.896”},“dataEraseAt”:“2023-01-14T11:39:58.896”,“frequency”:{“unit”:“HOUR”,“value”:1,“repeats”:0}},“careContexts”:[{“patientReference”:“PUID-00001”,“careContextReference”:“visit-87edff7e-9a1b-445f-9c1f-f2cf1b2f571b”},{“patientReference”:“PUID-00001”,“careContextReference”:“purple-care-deeptomar@sbx-60ed4edd-6146-4773-a460-e27538ce94f7”},{“patientReference”:“PUID-00001”,“careContextReference”:“purple-care-deeptomar@sbx-087b64b9-4fb0-4ec7-8b60-953e9e331635”},{“patientReference”:“PUID-00001”,“careContextReference”:“PUID-00001”},{“patientReference”:“PUID-00001”,“careContextReference”:“purple-care-deeptomar@sbx-ad5846dd-7256-4b9d-b167-61bb8f833833”}]},“status”:“GRANTED”,“signature”:“YinVkS4hRmm1HlmjKEJYwXDUx24rTlCk8g14YXPCw3JLCWTYs8cs6556K6qbyqv7VlY4wFjyHbpNVyMz/52uL/LihOrR1CSZ+oIQtDBmvSKFGDMvzG7D7SRMoPcErkKSs69KdZ7NZ6kTZJTyr4xK6yQHUBBuPKme/bZX0+qWHrrtfZHlP65S9ZzwAh42n0dIqobXTriTonfTPXLR2SvGtt52jR15B4K2D3AT8qoH9JRcLv8J7/S5S/ENx1c5W+gQhEpDLxdnp6rsuR4iZ2sFkD5Lda2Up6TxgHzKTDWyM8sRXs0KkuhyUz8qT0q/FOWrwp5ohF5UcHlXG3W4ObJ/rQ==”,“consentId”:“7c89bdf7-8382-4e21-a969-b77e0eead73c”,“grantAcknowledgement”:false},“requestId”:“b8254f3f-0a5a-4bdf-a08b-c71dfef8b3f5”,“timestamp”:“2023-01-13T11:40:29.853569”}
and after that my request body for /v0.5/consents/hip/on-notify is

{

“acknowledgement”:{
“consentId”:“7c89bdf7-8382-4e21-a969-b77e0eead73c”,
“status”:“OK”
},
“resp”:{
“requestId”:“b8254f3f-0a5a-4bdf-a08b-c71dfef8b3f5”
},
“requestId”:“3ff42db2-d912-4148-8f22-f8ca0797e62c”,
“timestamp”:“2023-01-13T11:40:30.563Z”

}

and previously i had raised the request for not getting hip/request callback
earlier there was some issue from ABDM side and in the doubt session they mentioned that some kind of queue they manage for throwing the request to HIP which in my case was not giving response
as they rectified that
and i was able to get the hip/request callback easily
se if your request payload matched mine and i hope it will also give you the response as i got
also please connect to @IntegrationSupport team …it might happen you also facing the same issue as mine which only ABDM team can resolve from their end

Regards
Deep

@deeptomar93 @IntegrationSupport same way i done the process.
i have attached the screen shot in Not getting call back from /v0.5/health-information/hip/request

I also got the same issue ,Is any resolution please help anyone.

Hi @IntegrationSupport I am as well not getting the hip/request callback for the below sent request.

this is the hip/notify callback request:
{
“notification”: {
“consentDetail”: {
“careContexts”: [
{
“careContextReference”: “sample ref care context”,
“patientReference”: “patient14215”
}
],
“consentId”: “05a27491-c4f0-4aab-a28a-083ee5c0a5ca”,
“consentManager”: {
“id”: “sbx”
},
“createdAt”: “2023-02-13T10:15:34.811559628”,
“hiTypes”: [
“Prescription”
],
“hip”: {
“id”: “jatayu_demo_id”,
“name”: “Jatayu facility demo”
},
“patient”: {
“id”: “91236020572319@sbx”
},
“permission”: {
“accessMode”: “VIEW”,
“dataEraseAt”: “2023-02-14T10:14:19.198”,
“dateRange”: {
“from”: “2023-01-01T10:14:00”,
“to”: “2023-02-13T10:14:19.198”
},
“frequency”: {
“repeats”: 0,
“unit”: “HOUR”,
“value”: 1
}
},
“purpose”: {
“code”: “PATRQT”,
“text”: “Self Requested”
}
},
“consentId”: “05a27491-c4f0-4aab-a28a-083ee5c0a5ca”,
“grantAcknowledgement”: false,
“signature”: “lRtmj3ad7J2H2pny7DAPvQEKNkWk0QpfeuSms4zFwAaptvtLtYp1WnfAn1n7/Z33pxMePFAIDT2RJYO6aO/jex0TeuN1VrleCoKScJhWXUoE/R6s4RExVpLHSqElVs4lvzvH4n1riK6+fuiKg+OCGwW9aRxT1PUOXj5FhcQxqbCJBX2glS0Fe0eYmvrSwV2i8j4oau92TQubMJf3tZI+nkRDoHlo3vTWMINQBM8FQu2xuqSIG4SsQMn4qQX85u+CAucKPRDKVoje3AbOj0hDJIpHT4P8TEqah8rubC9KQ1XUOhZlfchCHErEwKF0TDbB/FZw+FUsnFTV/LcCgTaaqA==”,
“status”: “GRANTED”
},
“requestId”: “51664e11-adb5-4415-8d56-13afd3f0dd95”,
“timestamp”: “2023-02-13T10:15:34.844067005”
}

this is the request body for the /v0.5/consents/hip/on-notify api:
{‘requestId’: ‘b4787179-b28f-48b1-8237-8fbc554291b0’, ‘timestamp’: ‘2023-02-13T10:16:21.925274’, ‘acknowledgement’: {‘status’: ‘OK’, ‘consentId’: ‘05a27491-c4f0-4aab-a28a-083ee5c0a5ca’}, ‘resp’: {‘requestId’: ‘51664e11-adb5-4415-8d56-13afd3f0dd95’}}

the response I received for this was 202 accepted but I never received the data push URL from the hip/request. Please look into mine as well.