Hi Team,
I am getting “Invalid HIU Id” error while creating a consent request on Production using the API
“https://live.ndhm.gov.in/gateway/v0.5/consent-requests/init”
Client ID: DOXPER_001
Tried with HIU ID as both Client ID and Facility ID. Following are the responses of
“https://live.ndhm.gov.in/gateway/v0.5/consent-requests/on-init”
-
Using Client ID:
{
“requestId”: “1424e3a7-2536-4ee2-8ddd-80a953f231cf”,
“error”: {
“code”: 2500,
“message”: “Invalid HIP or HIU or PHR id: DOXPER_001”
},
“timestamp”: [
2022,
2,
18,
4,
52,
20,
451650000
],
“resp”: {
“requestId”: “e26c3042-1036-4293-b815-b87c683c5a1a”
}
} -
Using Facility ID:
{
“requestId”: “2d7c7e00-8545-4684-8d8b-7bea1ff7462e”,
“error”: {
“code”: 2500,
“message”: “Invalid HIU id: IN0610000051”
},
“timestamp”: [
2022,
2,
18,
5,
6,
32,
167814000
],
“resp”: {
“requestId”: “88b744a3-e3bf-42b0-9165-4d60839152eb”
}
}
Note:-
https://live.ndhm.gov.in/gateway/v0.5/users/auth/init API is working with HIP ID as Facility ID.