Creating health-ids with dot is not working anymore

What’s wrong with this create request and health id?

curl -X 'POST' -d '{ ...."healthId":"sugitha.1978" ...... ,"token"", "txnId": "cb4842a2-fab9-4635-8bc3-436dc0bad64e"}' -H 'Accept: application/json' -H 'Authorization: Bearer.. -H 'Content-Type: application/json' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36' -H 'X-Cm-Id: ndhm' -H 'X-Hip-Id: EKA_HIP' 'https://healthid.abdm.gov.in/api/v1/registration/mobile/createHealthId'

healthId => sugitha.1978
transaction Id => cb4842a2-fab9-4635-8bc3-436dc0bad64e

@depakpant
We tested it again on Sandbox and production and we are still seeing failures.

Request to login using existing PHR with new CM API on PROD

curl --location --request POST 'https://live.ndhm.gov.in/cm/v1/apps/create/phrAddress' \
--header 'Content-Type: application/json' \
--data-raw '{
    "sessionId": "874c729f-d4eb-4652-89fa-c5ab0501083e",
    "phrAddress": "yashu.1996@abdm",
    "password" : "",
    "alreadyExistedPHR": true
}'

Response

{
    "error": {
        "code": 1417,
        "message": "ABHA address contains invalid characters: '.169'"
    }
}

Sandbox request that’s failing

Thanks,
Ayush

@Shubhanshu_Shukla,

Please check the below cURL

Hi @Shubhanshu_Shukla,

This issue is still there on prod. Tried again today with a different phr address

curl --location --request POST 'https://live.ndhm.gov.in/cm/v1/apps/create/phrAddress' \
--header 'Content-Type: application/json' \
--data-raw '{
    "sessionId": "4fcdb190-13d6-4917-ae0a-3f4f371d1dd3",
    "phrAddress": "ayush.test9@abdm",
    "password" : "",
    "alreadyExistedPHR": true
}'

Response

{
   "error": {
       "code": 1417,
       "message": "ABHA address contains invalid characters: '.'"
   }
}

Thanks,
Ayush