Error on callback Subscription On-init

Hi,
I am getting a error message of 2500 on callback of v0.5/subscription-requests/hiu/on-init API. v0.5/subscription-requests/cm/init api giving response code of 202. But on-init giving error code of 2500.
Please look into this.

URL :- https://dev.ndhm.gov.in/gateway/v0.5/subscription-requests/cm/init
Request Body :-
{

“requestId”: “0e532827-c776-43b5-9f45-74c95390c025”,

“timestamp”: “2021-03-09T11:39:31.512Z”,

“subscription”: {

"purpose": {

  "text": "Self Requested",

  "code": "PATRQT",

  "refUri": ""

},

"patient": {

  "id": "shefali@sbx"

},

"hiu": {

  "id": "Shefali_Locker"

},



"categories": [

  "LINK",

  "DATA"

],

"period": {

  "from": "2021-03-08T11:37:50.722Z",

  "to": "2031-03-09T11:36:28.842Z"

}

}

}

Response : 202 Accepted

Response of v0.5/subscription-requests/hiu/on-init :-
{
“requestId”: “7486c92b-ae60-4df5-b70b-c7b1d7fc5f36”,
“error”: {
“code”: 2500,
“message”: “Cannot process the request at the moment,please try later.”
},
“resp”: {
“requestId”: “0e532827-c776-43b5-9f45-74c95390c025”
}
}

Hi @Shefali,

Are you getting this error consistently? We see an error of X_HIU_ID not found with the above request_id.

Yes i am getting this error consistently.
Please see with this request ID : 2c3fbdb2-27f7-4d3d-b4c1-343ff0f4581a
I am passing X_HIU_ID :- Shefali_Locker

Hi @Shefali,

Could you please check once more. I think you updated your bridge URL but that did not reflect the changes in the cache. We will be investigating it why did that happen?

Please try and let us know.

Thank you…
Error is resolved

1 Like

@IntegrationSupport @mdubey I am facing the same issue my X_HIU_ID/ Locker ID is SEHT_HL. Any fixes?