Data Transfer 4500 Unknown Error

Hi team ,

@Shubhanshu_S

Can we have more meaningful error thrown in data transfer API.
I’m getting below response on data transfer. Please let me know where I can see exact issue.

Im referring to the data transfer implementation here https://github.com/BahmniIndiaDistro/hip-service

{

    "error": {

        "code": 4500,

        "message": "Unknown error"

    }

}

URL: https://dev.abdm.gov.in/patient-hiu/data/notification

{
“pageNumber”: null,
“pageCount”: null,
“transactionId”: “419cc6e4-107a-4639-a8e9-8ccb8bcb1bb7”,
“entries”: [
{
“Content”: “ki0+ZmbWccMi2bTljjsEt0dwgaUO58C8O2325euWBw83rKXK5536UWmJBzCQywMNnSqj3DOXuAc5cVYLoxXJQagCulin2wjHQhZpCIS1FTi3ovYNu/0MJVo/TOBBWSJ3E3KwgCvxl3CXn+ZVr+y31qoXARx6xJNSkdIWlTJHN2SEixu7jhwfXCO76hKloXvXi0bolnyGCSogaPqLA/4czO1NwfO1ltmQi50fvB+6JyV7zSCZH0TOHO/docBWCFScc8LV90/P7/gFzwFH6Gl3IbkpFBZ4rul3UlSejf8esANESAJh/LNEQkGBaUm1IcBgQz89dadOGx4W7VUbJrvHXrYqKEhhnhKyvoqrepRiPZm7bxwN4iHrKmUz+pEyNV0a+4OfKm5OQX/8Jefl392uN/xPFELYbzfHo/ersyzXkmz/OWurNm2rwcibSn74gN69QDdmlqVEFURk61ab3KAsloZrBzAEzi7kGUEoOSqWVcBK1oVofie8oQPKm5pNApveJZzZ0MdgpM3dHmK+MA6dyskWUVCadZeKGejZNRNyPT97m7f3UWJxbJ00Yfdut46H78fp3CDsD7YEWhkzV+x5nvomibhlfee6AXr4oWbFapuqlHDb6v2Fs0b01Y8iCEatfGVDeZziSZp437lX/LXn85hBY4bQ/jjtBC28hKXXk0ofj937V6h5SUcMDHG/ddFOJld+wjyLfqg6Rp8Vv7cpgoi189JbXbWTmsrw6k/66k1TbNmUhaCillg0nB6oOrFsOKYvNQIFNT5u13obtsNK32tH/6E6GJk87UHNE/+nswFsnPJvquCklTtv38xvbKcr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zrJXQRjcVk1ti+3ObE/qJs0ZNpJbUFb/coL+y0Imc+9RVseKtygDi2gLINb0uGIRJo6352lhnfLFq/lg+HvQPRjUncJM2azSKekWBifodjlkKVly9KfFCfLnH/UD6LVv0aCE7eCLGwaGxK4jaFoNSPD1pRgWYPfXOS8ANRmOEMOW6DfBpArom6hHrNsnt9lSDSIa5onkFRNaUqg4pfu6JknAk6KfAAeKFLDnUV6hymryP3ak7+FCzomUgbzKHqsZPuOuNZbPVmDvJiufxtYW0KAiufzWEyCSvFFIrbKWG/rew9vfa8/iFOBuyr8y0NQZHfq8LHFF3NlLrOARfsS1htp6DdDS0DQSZcEeT7gPANH6WiCErPXM8hSEfoYUVodv+j0Jez9ib5qouiiQadCP6pNUJxbzP7UTBWVmFot6AJoIOAQJbDzbi/L/1m1FZF2z/EBXh/8gKyzQv8HyQxZHs/oTsPtvKXx3HDJc/ctw6SpyxxpphVOBADUk+0yn+k5bGeROfJs6ilg7ZTWrizlaZpZwMEGrfYILuFpBWAda85s65e703d4UJlRZys1HhFE2QIRYJsTdlA/B3eJ0Dj6MTFSHsVfZWEFu92AW+un/NyVa+SSH4a2HLdb9uYkA7NtooinwcgKKqT5h1dBkhob9LyMzwSPkcxuKny1AG7vFO/+SfnslB4vnz8si+9YGtpOSehxeUHM9ZwXBos8h+nfBGPZ6gt9jf+z0u3V9AEShN8q6/gva+gbjLpaWEgTeHC6McMbcJAsFS+1VTzoYjfJAFCO/Lo7zBhsCaEeAF/0e61/XNsL8QtBKjien9apZGB8008BQ2vzaQCazVrLXK98SIKVz8UZ3wTXmGFDlHtBk2q2PnjWVo7oPoZSozzgVwQdG0/6tRoP+T99s6tf2astKvmybh1o4sI3oIqIvfFkPtJhLi4gm6BzDAB4ST45s9H8iYGtBjF2MKWapnNx5QFKcB9Xark4mDy+FJtAzBaGG890//sKEn3cvGqoqOocNM1pRF1XB5pw/ye4Of8ywQ=”,
“Media”: “application/fhir+json”,
“CareContextReference”: “SB1000000820 23092022”,
“Checksum”: “MD5”,
“Link”: null
}
],
“keyMaterial”: {
“cryptoAlg”: “ECDH”,
“curve”: “curve25519”,
“dhPublicKey”: {
“expiry”: “2022-10-11T08.39.59Z”,
“parameters”: “Ephemeral public key”,
“keyValue”: “MIIBMTCB6gYHKoZIzj0CATCB3gIBATArBgcqhkjOPQEBAiB/////////////////////////////////////////7TBEBCAqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqYSRShRAQge0Je0Je0Je0Je0Je0Je0Je0Je0Je0Je0JgtenHcQyGQEQQQqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq0kWiCuGaG4oIa04B7dLHdI0UySPU1+bXxhsinpxaJ+ztPZAiAQAAAAAAAAAAAAAAAAAAAAFN753qL3nNZYEmMaXPXT7QIBCANCAAQUfJdFYVSj3tRGuAn2pvV83BaGUw4uoL+xijDg8VXaMxPZXOmDNh7vHOouToNTiGHId7/ebg1R3MQPga66nSMs”
},
“nonce”: “shYJV03gdUVzHHcqRjeiPvO8FGZ1KQwPOoqiqLGeR6E=”
}
}

@cloops_ashutosh,

Please visit here for overview of FHIR bundle.

Thanks

Im using the same bundle as specified on sandbox documentation page.

here is the link to bundle.

https://sandbox.abdm.gov.in/bundles/DiagnosticReportDocument.json

@Shubhanshu_S it will be really helpful if we get exact error instead of generic error in data transfer in sandbox environment, as I see many integrators are struggling, if we get exact error then it will be easy to debug from our side instead of waiting for responses on dev forum which usually takes 1 - 2 days :frowning:

By trial I found the issue.

Code in hip_service sets the expiry of senders public key using DateTime.Now.ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ssZ")
function and I cahnged it to following format
DateTime.UtcNow.ToString("yyyy-MM-ddTHH:mm:ss.ffffff", System.Globalization.CultureInfo.InvariantCulture)

Now I’m able to see the data in HIU portal.

1 Like

Yes,
We do follow UTC format .