Also could you please explain the steps how did you sent the auth_credentials for aadhar OTP and got this scenario. Because the error message seems to be not clear in this scenario.
Below is the url and body details:
https://healthidsbx.abdm.gov.in/api/v1/auth/init
Body:
{
âauthMethodâ: âAADHAAR_OTPâ,
âhealthidâ: â91-1803-4234-7770â
}
i am getting the response like below:
{
"timestamp": "2023-07-06T02:41:40.834+0000",
"status": 401,
"error": "Unauthorized",
"message": "Unauthorized",
"path": "/api/v1/auth/init"
}
it is showming unauthorized, can anyone help on this.