v2/forgot/healthId/mobile - Forgot health id: Retrieve through Patient demographically details

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
}
]
}

Hi Team,
Still this below API is not resolved . Please help on this.
API 1: https://healthidsbx.abdm.gov.in/api/v2/forgot/healthId/mobile/generateOtp
API 2: https://healthidsbx.abdm.gov.in/api/v2/forgot/healthId/mobile

Note: Only this response we are getting every time.
{
“code”: “HIS-500”,
“message”: “An unexpected error has occured. Please try again in sometime.”,
“details”: null
}

Please API details below.

API 1:

curl --request POST
–url https://healthidsbx.abdm.gov.in/api/v2/forgot/healthId/mobile/generateOtp
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NDY3Mjk2OTMsImlhdCI6MTY0NjcyOTA5MywianRpIjoiMzA3ZmE2YjMtYTliOS00OTJlLWI1N2QtYTRiNGY5YmY3YWMwIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiI2YWQ2YjQ4Ny1mZTc1LTRiN2EtYjk1NS0wMzQ4OGU4OTRjNTgiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAwNTQxIiwic2Vzc2lvbl9zdGF0ZSI6IjM1N2IwODRiLWNkMDgtNDlmNi04MzZhLWEyMmU2MTk1MjMxNyIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDA1NDEiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRJZCI6IlNCWF8wMDA1NDEiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY4LjcxIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc2J4XzAwMDU0MSIsImNsaWVudEFkZHJlc3MiOiIxMC4yMzMuNjguNzEifQ.hMfu54iE5fWiR3w4wr-3U_bYKOezBXUDzlWrZywuvQKyo2J9iRr8yGndH818jWIAqGNWHH6v9aN6in411NytNI5uhm1RuF5iQmngf67Ap3z8Zlf6QWo-y3BPjERqB289tfsLFxdQ7zLK-lPqjZCJ7HHrGAxa7bQ5aBXcIu0PekwWbZUKpiKnk40wWnFiySEMAO_8qtpUjhgi-ugFVKPGAfh4bOGQVFqmkqFUiUIyfc3AHSzlpsc9Dz_rNuJ6nDKKo5SIl83uDV-SwF8nqLwA0KLVgAKXoKaBr44UpqGWgQnZnm0iv0CqP8pcMxPLQyqFXX_kbWVsPhK7Cfw0rIDmpQ’
–header ‘Content-Type: application/json’
–cookie TS01c078b5=01115a1c909618bf432d04268716ca5fe80d9a8be6724ba3e0940629ebcf692cdab1d48f9a357db51e5e1270a2cb58692bae433552
–data ‘{
“mobile”: 9948205605
}’

API 2:
curl --request POST
–url https://healthidsbx.abdm.gov.in/api/v2/forgot/healthId/mobile
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NDY3Mjk2OTMsImlhdCI6MTY0NjcyOTA5MywianRpIjoiMzA3ZmE2YjMtYTliOS00OTJlLWI1N2QtYTRiNGY5YmY3YWMwIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiI2YWQ2YjQ4Ny1mZ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v0CqP8pcMxPLQyqFXX_kbWVsPhK7Cfw0rIDmpQ’
–header ‘Content-Type: application/json’
–cookie TS01c078b5=01115a1c909618bf432d04268716ca5fe80d9a8be6724ba3e0940629ebcf692cdab1d48f9a357db51e5e1270a2cb58692bae433552
–data ‘{
“dayOfBirth”: 18,
“firstName”: “B”,
“gender”: “M”,
“lastName”: “Krishnachary”,
“middleName”: “”,
“monthOfBirth”: “02”,
“name”: “B Krishnachary”,
“otp”: 460400,
“status”: “Active”,
“txnId”: “d820448e-d5ec-4f2b-bef1-e816c3f32638”,
“yearOfBirth”: 1985
}’

Response:
{
“code”: “HIS-500”,
“message”: “An unexpected error has occured. Please try again in sometime.”,
“details”: null
}

Hi @KrishnaDhanushInfoth

@Dhawal Please look at this issue.

Thanks

getting similar issue, i am getting ‘Invalid credentials’ everytime