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”
}
}