Health Information HIP request Callback Not receiving (/v0.5/health-information/hip/request)

Hi @Shubhanshu_Shukla @mdubey ,
Can you please give me suggestion why hip callback not receiving for this (ClientId: SBX_000049).

Input: (Consent Granted)

  1. /v0.5/consents/hip/notify

response:

{
“notification”:{“consentDetail”:{“consentId”:“9cdf0ee6-903d-45c1-9f8e-b63852a839a6”,“createdAt”:“2021-08-05T13:15:46.157898”,“purpose”:{“text”:“Care Management”,“code”:“CAREMGT”,“refUri”:null},“patient”:{“id”:“ramesh1508@sbx”},“consentManager”:{“id”:“sbx”},“hip”:{“id”:“DHV1”,“name”:“Digital Health & Data Vault_demo1”},“hiTypes”:[“DischargeSummary”,“ImmunizationRecord”,“OPConsultation”],“permission”:{“accessMode”:“VIEW”,“dateRange”:{“from”:“2021-08-05T13:14:22.715”,“to”:“2021-08-05T13:14:22.715”},“dataEraseAt”:“2021-08-31T13:15:00”,“frequency”:{“unit”:“HOUR”,“value”:1,“repeats”:0}},“careContexts”:[{“patientReference”:“DHV1-DEMO3-PID-001”,“careContextReference”:“18072021_demo3”},{“patientReference”:“DHV1-DEMO3-PID-001”,“careContextReference”:“18072021_demo4”},{“patientReference”:“DHV1-DEMO3-PID-001”,“careContextReference”:“18072021_demo”}]},“status”:“GRANTED”,“signature”:“oNhg+WoNamOp67vi/ROMT/kkbiNqsnqW8+jRe/meAgQaU0B3irNpSUnXYxFnmMDpUR2vuBejsX3QEB0mRdeHt8B3HmzQFrtAQwvx6lVXkeXk77Mkx+Z+pfvvc0JfsobQe2d2DGP5YsvgFucqpv8bpxyuyZCJH3tD5s/lzvuHlHEMPUmRTaSfMIGQ5s2WdkMkV/+TRUvEwOkEEDvLm9rULvLXVp8aMtoHm+WHLIw7HupHio25Yo1T9TpgMBw3Z1tW7IDpFhgRuYpqSN40JDOzGZYoR8sDEZaNyLRYPdUZzQVDZ9uiMMNEdOFcpH/KH5eYqxfZ4iS8v40oH07YzzfYQw==”,“consentId”:“9cdf0ee6-903d-45c1-9f8e-b63852a839a6”,“grantAcknowledgement”:false},“requestId”:“a6792351-3c0e-4c7b-a9bc-b5b938dc9523”,“timestamp”:“2021-08-05T13:15:46.29182”
}

  1. /v0.5/consents/hip/on-notify

Request:

{
“requestId”: “25df49e0-d7bb-4e06-a47d-a1b69cd45ccf”,
“timestamp”: “2021-08-05T13:16:15.880000”,
“acknowledgement”: {
“status”: “OK”,
“consentId”: “9cdf0ee6-903d-45c1-9f8e-b63852a839a6”
},

"resp": {
    "requestId": "a6792351-3c0e-4c7b-a9bc-b5b938dc9523"
}

}

Response :

status: 202 Accepted

correlationId: fafcc10a-5406-46f6-8af8-e22a55985416

But not receiveing health-information/hip/request callback.

did you resolve the issue ? i’'m getting the same issue .

@ashok-kinitious @dhavalstrauss facing the same issue how it was resolved ?

sometine callbacks are not receiving from abdm server so you have to wait untill callback start from abdm server

Thanks @dhavalstrauss issue is resolved now.

@Wasi_rehman
Hi rehman
previously I am solve these issue but now it was not working
I am using these flow can you please tell me this flow is correct or wrong

I an ABHA SBX while click on grant it coming these response both hip and hiu

https://webhook.site/c5d84fb9-de74-4c51-8dc9-ae1f8b748637/v0.5/consents/hiu/notify 

https://webhook.site/c5d84fb9-de74-4c51-8dc9-ae1f8b748637/v0.5/consents/hip/notify

after getting these two response next i am calling the consents/hip/on-notify aging
my request body for these is
{
“requestId”: “{{$guid}}”,
“timestamp”: “{{$isoTimestamp}}”,
“acknowledgement”: {
“status”: “OK”,
“consentId”: “3f5ea9ac-2bf1-4726-9170-28d0e79544a2”// Here we can pass the hip/notify while clicking the pull records in ABDM SBX APP we get hip/notify on that we pass these value consentId
},
“error” : {
“code” : 0,
“message” : “null”
},
“resp”: {
“requestId”: “cf7e1d82-ed18-47f4-9262-f43ea0ec9caf”//here we can pass the values auth/on-init transaction id
}
}
response was coming 202 accepted

can you please help me in these

Don’t send error tag. Remove it from your body
Just this
{
“requestId”: “{{$guid}}”,
“timestamp”: “{{$isoTimestamp}}”,
“acknowledgement”: {
“status”: “OK”,
“consentId”: “3f5ea9ac-2bf1-4726-9170-28d0e79544a2”
},
“resp”: {
“requestId”: “cf7e1d82-ed18-47f4-9262-f43ea0ec9caf”
}
}

@Wasi_rehman
Hi currently i am using these flow

  1. While clicking on pull records response come to webhook
    https://webhook.site/b8049386-b3ba-43d9-9be0-4204c9ddae1d/v0.5/consents/hip/notify
    I am getting these response next i am using these

  2. url : https://dev.abdm.gov.in/gateway/v0.5/consents/hip/on-notify
    here I am passing the consent id and request id
    response : 202 Accepted

  3. Again am hitting these
    url : https://dev.abdm.gov.in/gateway/v0.5/consent-requests/init

one notification come to ABHA SBX APP click on that notification in down side Grant was their i am clicking on Grant response come to webhook like these urls

https://webhook.site/b8049386-b3ba-43d9-9be0-4204c9ddae1d/v0.5/consents/hiu/notify

https://webhook.site/b8049386-b3ba-43d9-9be0-4204c9ddae1d/v0.5/consents/hiu/notify

after getting these response next i am using these
url : https://dev.abdm.gov.in/gateway/v0.5/consents/hip/on-notify

my request body :
{

“requestId”: “{{$guid}}”,

"timestamp": "{{$isoTimestamp}}",

“acknowledgement”: {

"status": "OK",

"consentId": "ec927b0d-e378-43bd-9611-4244985aff21"

},

“resp”: {

"requestId": "f1bd142c-6136-4add-b02e-9095d3e16670"

}

}
response : 202 Accepted in webhook response was not coming

how can i get these response
https://webhook.site/176af488-80ed-4dc2-bb82-c6a6fa0f3f56/v0.5/health-information/hip/request

can you please help me

@Bhaskar1 after calling on-notify if the request body is correct then you will receive hip/request call.
and why are you sending consent-requests/init after on-notify call?

@Wasi_rehman

Because we will get both hip and hiu
https://webhook.site/b8049386-b3ba-43d9-9be0-4204c9ddae1d/v0.5/consents/hip/notify

https://webhook.site/b8049386-b3ba-43d9-9be0-4204c9ddae1d/v0.5/consents/hiu/notify

you are receiving both because hiu and hip bridge is same

@Wasi_rehman
Today evening are free sir if you are free we will connect on google meet i will show you how it was coming

okay we can connect share the invite