Health ID creation with Document

Hi @adnan_360, @Arvind_Tomar, @Shubhanshu_Shukla

Is there any issue in Document APIs
I call the API /v2/document/validate
with correct details
{
“documentNumber”: “**********”,
“documentType”: “PAN_CARD”,
“firstName”: “VIKAS”,
“gender”: “M”,
“yearOfBirth”: “1988”,
“dayOfBirth”: “06”,
“lastName”: " K",
“middleName”: “C”,
“monthOfBirth”: “5”
}
response getting as
{

"code": "HIS-422",
"message": "Unable to process the current request due to incorrect data entered.",
"details": [
    {
        "message": "The details provided by you do not match against your Documents details. Please provide the correct details.",
        "code": "HIS-4000",
        "attribute": null
    }
]

}


Previously also got same error, I was thinking my PAN card Details issue. But when I use details of another person same thing happening.

Can you please check?

Thanks
SALAHUDHEEN

Hi

Is there any update on this?

Thanks
SALAHUDHEEN

Hi @salahudheen

Please tell me that which enviroment you use
please provide me the request sbx or ndhm

Thanks
Adnan

Hi @adnan_360

I used this
https://healthidsbx.abdm.gov.in/api/v2/document/validate

Thanks
SALAHUDHEEN

Hi @adnan_360

can you please update?

Thanks
SALAHUDHEEN

Hi @adnan_360

Please update on this?

Thanks
SALAHUDHEEN

Hi @salahudheen

Please provide me the credentials of your PAN id so I can test this flow for the same
in the swagger UI Env

Thanks
Adnan

Hi @adnan_360

I sent Direct message for you the details

Thanks
SALAHUDHEEN

HI @adnan_360 CAN YOU PLEASE HELP ME WITH THIS WHILE VALIDATING USING OTHER DOCUMNET GETTING ERROR OF INCORRECT DATA.

Hi,
As per the guidance from ABDM team,
If assisted creation of health ID with HIP,
then only need creation of Health ID with Aadhaar Number, no need creation with mobile number and documents.

I removed those 2 sections.

Not getting the solution which you asked.

Thanks and Regards
SALAHUDHEEN

hi,
so now we cannot generate health id using other documents like pan and DL?

hi @salahudheen do i need to encrypt pan no ?what is the steps to validate other documnets
thanks
Arshad

Hi
I didn’t handle health id creation with documents (like PAN or DL) / Mobile number.

Thanks
SALAHUDHEEN

1 Like

what about this @salahudheen
thanks

Hi @adnan_360 @admin @adverto.adx can you help me with health id creation with documents (like PAN or DL) / Mobile number.

Thanks
Arshad

Hi

not resolved and now i’m not using this.

Thanks

Hello Team,

I am using client ID: SBX_001196
I am facing issues while creating Health ID with other document (DL)
Please check the following request and response details

HTTP Request

https://healthidsbx.abdm.gov.in/api/v2/document

X-CM-ID: sbx
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NTUxMjQ2NzgsImlhdCI6MTY1NTEyNDA3OCwianRpIjoiNTZjMjM2ZWQtYWNhMy00MDdlLWJmZjYtZTFhZjQ2OTM5OTk4IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJkYTc2ZjViNy02NzEwLTQ3MTItYTdiZC1hMzg3ZWRiNjRhYWEiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAxMTk2Iiwic2Vzc2lvbl9zdGF0ZSI6IjdlNGE3ZDAzLTg1NTMtNDYxOS04MDcyLWQ2ODc4MDA4NzVjMyIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDExOTYiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY3LjEzOSIsImNsaWVudElkIjoiU0JYXzAwMTE5NiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXNieF8wMDExOTYiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY3LjEzOSJ9.QABmIpWHW4LplbEGyGsVljTv1t0xu0mcoD6c8tZI0XqArbKwNHy0X0KxtsYq9Stl-NhmRHQiE3WWrNv5A6eGcYQ_lKorH2lxm2Q1c2ywANm3WwsqIfbwoB7MHJgzp32dWkOQX5icQ284JFKg9zpSBUJ9AYw6OwJSlhqyWQIQK0N9dq2fEfHgZPzE5ZxKhN8bp9whVRByajHZ2dyvU7shPJQiNqv2qutKaQX7J638viIICCugHBrIJdesT5ig4UjLwQMf4V16I588Wv4mFfWM0lfDIQJx_C0ZNlC-PVVFIoIMSi3Jt77q-hGnJ0xon1QbChOUPdb4xldi26LDv7SjKA
Content-Type: application/json
User-Agent: PostmanRuntime/7.29.0
Accept: */*
Postman-Token: 6742f731-0893-4f9e-b82a-f3114733087b
Host: healthidsbx.abdm.gov.in
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 504
Cookie: TS01c078b5=01115a1c90acb7f57e2e7347658766f1b257958e4d60c2317ae714951c3c753fde817a4e33d3f6bc4142146f1531415c759cbb0dd0
 
{
"address": "NEAR SITALATALA,CHANDITALA,HOOGHLY,712702",
"dayOfBirth": "22",
"districtCode": "338",
"documentNumber": "WB-1520120099944",
"documentType": "DRIVING_LICENCE",
"firstName": "Sandip",
"gender": "M",
"lastName": "Ghosh",
"middleName": "",
"mobile": "6296163123",
"monthOfBirth": "12",
"photo": null,
"photoBack": null,
"stateCode": "19",
"txnId": "bb5aa206-5032-4b5b-85c6-deff9800490f",
"yearOfBirth": "1984"
}

HTTP Response

HTTP/1.1 500 Internal Server Error
Date: Mon, 13 Jun 2022 12:41:18 GMT
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0
X-Custom-Security-Header: default-src 'none'; img-src 'self'; script-src 'self' style-src 'self'
Content-Security-Policy: frame-src 'self' https://www.google.com; frame-ancestors 'self' https://www.google.com; object-src 'none';
X-WebKit-CSP: default-src 'self'
vary: accept-encoding
Content-Encoding: gzip
Content-Type: application/json;charset=UTF-8
Connection: close
Transfer-Encoding: chunked

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

Hi all, Health ID creation with Document is working fine.
Kindly see the screenshots.




Thanks and regards,
Ishan

@IshanMisra
how to generate OTP in encrypt formate please tell me


i try this but i get error

@IshanMisra @anchal2909 @VSrinivas @Arshad0903 @adnan_360
I’am generate health id with documents and i’am generate OTP and Verify OTP and Validate Properly but i getting error in (v2/document) API

Please help me