Continuing the discussion from HIP Share not working:
Hi,
The HIP share is not working where a patient scans a QR code of an HIP from a PHR app.
We tried this on prod too.
Request
curl --location --request POST 'https://live.ndhm.gov.in/cm/patients/profile/share' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer eyJhbG....' \
--header 'Content-Type: application/json' \
--header 'X-Auth-Token: Bearer eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJ0ZXN0cXBwcUBhYmRtIiwiY2xpZW50SWQiOiJQSFItV0VCIiwic3lzdGVtIjoiQUJIQS1BIiwicmVxdWVzdGVySWQiOiJQSFItV0VCIiwicGhyTW9iaWxlIjoiODA4OTQ0MjUxMyIsImV4cCI6MTY1MzQwMTA0MiwiaWF0IjoxNjUzMzkzODQyLCJwaHJBZGRyZXNzIjoidGVzdHFwcHFAYWJkbSIsInR4bklkIjoiNDQ4YTNiNDgtYTMwNi00NmVlLWJkZDQtMmYxMTc5NTcwMzY4In0.bnefozjnHPwPLIlHbzDX3IXNTqhCGjdDQdTA1zcP1b-IFuuFx5O_ciFzgIQCHGlBz_tF6PeuJSjUa0SP2UW3ozIW_oiU9X2qc4h__Z8iEgTbxRMWcLKZ6MdmOOIrFIHgCTQYJWnwlqnikoiUVWM-k_4C7d9GEqZcPK6auPp_dfzIafUJI9BMU1eJy6UogHihlBgfDgut03VYab7BIpWYgls6JFHFp9898IB0jSHOi1bNcfzk9_ZJ3SUwzYAjW3tlB2G5TRMH13n0CV5sknp9ro58RNowR980cxGZEMCkvC5JwPGK5SmSlfZ1J4CAfEAHtqTx-PfGydC0g-vzCjX0Gg' \
--header 'X-Cm-Id: abdm' \
--header 'X-Hip-Id: EKA_HIP' \
--data-raw '{
"requestId": "0972f309-ac32-45e3-b752-de6f192ae9bd",
"hipDetails": {
"id": "IN0610000051",
"customCode": "Patient Registration"
}
}'
Response
{
"error": {
"code": 1511,
"message": "Cannot process the request at the moment, please try later."
}
}
Please look into it.
Thanks,
Ayush