Unauthorized error occurs in biometric authentication even if token is valid

{
“authType”: “FINGERSCAN”,
“bioType”: “FMR”,
“pid”:“jdVVJUUx3TmoydnAzOVpqR0NIcnVtbnowNnk3Z2VkNllNNVMxZDQ5b21TbzhndGV2ZUl5Y……”
“txnId”: “a825f76b-0696-40f3-864c-5a3a5b389a83”
}

I have also generated bearer token which is valid but the below error appears

{
“timestamp”: “2021-12-22T07:44:17.738+0000”,
“status”: 401,
“error”: “Unauthorized”,
“message”: “Unauthorized”,
“path”: “/api/v2/auth/confirmWithAadhaarBio”
}


I have used initiate authentication process for given health ID Api to generate txnID with parameters but following error occurs

{
“authMethod”: “AADHAAR_OTP”,
“healthid”: “57-1068-0356-5307”
}

{
“code”: “HIS-422”,
“message”: “Unable to process the current request due to incorrect data entered.”,
“details”: [
{
“message”: “Authentication is not initiated with provided authentication method.”,
“code”: “HIS-1006”,
“attribute”: null
}
]

}
So generated txnID from Generate Mobile OTP Api which returned me txnID

{
“mobile”: “1234567890”
}

{
“txnId”: “1c24e162-5613-4d99-b46f-f2e3936a17f8”
}

Used the above txnID in biometric authentication but Unauthorized error occurs in biometric authentication api.