Not receiving encrypted data in the datapush url

Hi @Mounica, @dheerajp ,
I am trying to receive health records.

https://dev.abdm.gov.in/gateway/v0.5/health-information/cm/request
request body:
{
“requestId”: “{{$guid}}”,
“timestamp”: “{{$isoTimestamp}}”,
“hiRequest”: {
“consent”: {
“id”: “c4f2c417-e886-47fc-bcce-3ca1114578af”
},
“dateRange”: {
“from”: “2020-11-25T12:30:29.592Z”,
“to”: “2023-05-08T09:10:10.592Z”
},
“dataPushUrl”: “https://webhook.site/28fd47be-0960-47b4-a17d-396064284a4b/data/push”,
“keyMaterial”: {
“cryptoAlg”: “ECDH”,
“curve”: “Curve25519”,
“dhPublicKey”: {
“expiry”: “2031-11-26T10:25:26.274Z”,
“parameters”: “Curve25519/32byte random key”,
“keyValue”: “MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCJWQXRlA9xlW+tqVvl8u/OsTPehSZ4u4caJU2VIdzGiwNqwMOclVvxATw3UAGE5RxhvQ5UQo0H8TIrfwj30VeSdM6s/GPVJpOBEiDMh+eLmHwaMG3i3J1HPKApueJxyaniZEO7iSbSeiPyfHnQeviYVyLvyn/znjyinLhwe9GvkQIDAQAB”
},
“nonce”: “srzb8xdGPyx39fEwMcKl8690HKyeM4OvudRaUHWOZNE=”
}
}
}

I am getting the on-request callback. (I am using Bahmni as HRP)

But i am not getting encrypted data in the data push url. Could you kindly help me. Thanks in advance

i was also facing this error then i tried using java code and its working so sometime its not working in CLI …
referal link : https://github.com/sukreet/fidelius/tree/84bc68c8a80d91a665dd88b05e5757a09a2d663a/src/main/java/in/projecteka/fidelius

1 Like

Thankyou @dhavalstrauss. Its working after using fidelius java