Patient profile share issue

Hi @Shubhanshu_Shukla,

I am trying to share patient profile info with hip using scanning qr code but i am getting error ‘Unknown error occurred’. Below is json payload

https://dev.abdm.gov.in/cm/patients/profile/share
Request:
{“requestId”:“65190317-9e4c-41d0-b803-ea8c6b562bbc”,“hipDetails”:{“id”:“NHHIPDEV”,“customCode”:“a8c1f491-e5b0-428d-b60c-f64860e8fd82”}}

Response
{“error”:{“code”:1500,“message”:“Unknown error occurred”}}

please guide us

@Govind_Deshmukh/ @Prajwal kindly look.

Hi @Prajwal ,

Could you please look into this

can you share the hip id and counter code

HipID: NHHIPDEV
customCode : a8c1f491-e5b0-428d-b60c-f64860e8fd82

We are also facing the same issue and getting similar error.

Have been facing this issue in the share API from quite a few days. Please check. Below is the attached curl and response for reference

curl -X 'POST' -d '{"requestId":"0ea8837b-dac3-41e2-842b-186cb5695b9f","hipDetails":{"id":"InformDS","customCode":"Dept Id\u003e"}}' -H 'Accept: application/json' -H 'Authorization: ' -H 'Content-Type: application/json' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36' -H 'X-Auth-Token: 'X-Cm-Id: sbx' -H 'X-Hip-Id: SBX_000324' 'https://dev.abdm.gov.in/cm/patients/profile/share'

{
    "error": {
        "code": 1511,
        "message": "Cannot process the request at the moment, please try later."
    }
}

pass the request same as below format

{“hipDetails”:{“code”:“12345”,“hipId”:“IN3410000260”},“requestId”:“050e9b59-a001-48e4-a1db-6a18026912c6”}

Hi @RishiPC / @sudo / @jatin,

I guess this Closed, Please check your and provide the confirmation on it.

Thanks,
Govind D.

Hi, @Govind_Deshmukh

Yes this is working now.
But, after scanning any HIP QR, a callback should be received from Gateway indicating SUCCESS/FAILURE of the sharing. Not getting any such callback.
Could you kindly look into it?

Hi @Prajwal,

Could you please look into this.
Thanks,
Govind D

follow the below format.
{
“hipDetails”: {
“code”: “12345”,
“hipId”: “CARECLINIC”
},
“requestId”: “9df3769c-6788-41dc-b871-98aa85b50b33”
}

We tried everything @Prajwal but it is still not working and we are constantly getting the same error saying { error: { code: 1500, message: ‘Unknown error occurred’ } }
The object that we are passing is {
hipDetails: { “code”: “12345”, “hipId”: “SBX_001230” },
“requestId”: “28c3d36f-a9a2-4b89-97bc-9bd3ed1f7eaf”,
}
Kindly help