Team,
Can you please help on below API issue.
Test case Case : Forgot health id: - Retrieve through Patient demographically details
API getting status: 422
curl --request POST
–url https://healthidsbx.abdm.gov.in/api/v2/forgot/healthId/mobile
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NDYzODg0NTcsImlhdCI6MTY0NjM4Nzg1NywianRpIjoiOGVjMzA4NzYtMWE2Yy00ZDg1LWFlYjUtMDU4MjZiMzRkZjM2IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiI2YWQ2YjQ4Ny1mZTc1LTRiN2EtYjk1NS0wMzQ4OGU4OTRjNTgiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAwNTQxIiwic2Vzc2lvbl9zdGF0ZSI6ImE2NGE3ZmQzLWUwMDctNGQ1Mi1hMDBlLWVhMmQ5NzFjN2Y5ZiIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDA1NDEiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRJZCI6IlNCWF8wMDA1NDEiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY5LjE4NyIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXNieF8wMDA1NDEiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY5LjE4NyJ9.DUINqfqld2tzNEvkyYEPyQyvXf6lmK2ZE70DGaNdJLebJYBImc94Y0QQUlXMv9mRYCrAZ0BzXkp_a57_hXfj8cy8w40vh0SdiZWjANJvl72f8j7ERrjEgztb1lXY_nIz_5PFFwZQ6ZGibrj5MxnVjAYesmPiwYeYBxa3KknW3tMoowgVuwGyw6ZnmQOcBnLTTTg8ZrJFqn1oGA_3rTJoZK-T9EL_oiVWpMYtmIfXk7ll6-dkZw4nnirjiC74BSB_JuxKieJot8eEI_yggHjpTTXjG4hW5u1MEtSWjz9tubhXr8NQomHi2WD_9Cthg-K0XgO5IqQVBwABNzM49dejGw’
–header ‘Content-Type: application/json’
–cookie TS01c078b5=01115a1c907e0abb182a48d37b78a94490806a7d4e49948b012fbe619759a7374774598226cd320f6ac1fc45e6c4e9c2ef4bc1c0d7
–data ‘{
“dayOfBirth”: 18,
“firstName”: “B”,
“gender”: “M”,
“lastName”: “Krishnachary”,
“middleName”: “”,
“monthOfBirth”: “02”,
“name”: “B Krishnachary”,
“otp”: 438909,
“status”: “Active”,
“txnId”: “895e5b6d-633d-4339-a408-70d834ca74f4”,
“yearOfBirth”: 1985
}’
Response:
{
“code”: “HIS-422”,
“message”: “Unable to process the current request due to incorrect data entered.”,
“details”: [
{
“message”: "No user account can be found with the ABHA Number/Enrolment Number provided. ",
“code”: “HIS-1008”,
“attribute”: null
}
]
}