Getting Unknown error occurred in https://dev.abdm.gov.in/cm/v1/apps/generate/otp

Hey,
I am integrating PHR APIs to create an ABHA address using Mobile or Email but I am getting this error.
Can you please check once and let me know what is the issue ??

CURL

curl --location --request POST ‘https://dev.abdm.gov.in/cm/v1/apps/generate/otp
–header ‘accept: /
–header ‘Content-Type: application/json’
–header ‘Cookie: TS011c04bd=01445fed04a0b1d0399eaf92116b5c480b7906c273829ddbe4aba03b54538fcd9edcc85ee2341b8b7c8433432e84edb1971c2708df’
–data-raw ‘{
“value”: “N/EQ/yUqWxa2P38Bi4feEQVwhVxgwKiWTT5pa9iTK4KmK5XSpyQVAzUxBmknFPMI/k8mvSKJ2H2gZWR2Fps4iyrGnkzUO1cAPTIEtjlO6Ff7XuiIAZziMQD+R7EDMIgyh5MJ7PxvwZAZx2D8HK7dyhOnEJHmcXV6MlkcRDAgmzPa8Sok88vHb3LYJ9+GhnjJ1YHLUR2K/1TCvGmL7DE+S5saYMDKJwPupxXIkIydT9Xx3+X2Hm8ZId+eJjod4jhmcUg/2wkFQmKgTxQecwU6ZAiw683CGq/VLl8rtkKxf01/owY34LPTOIN15Dnn9iycaLEt3165tv1PER8D1r5GrzIjpfcbbS81niZsnRFh8aUTJFv06evepNsDGpAuWY4u3/BGlKzSsqzS1uvdNnuV9FMJoXcKamufhSLBmQKvcy91XY1Erzx7h7LPn+R8o4FFxrer5ZhVuyUwez5rmMyQzj0dxjvb0wU+TSYJTi7b9fiY29O/xjQIL18D3bVPFR9AiWB7PxpTby2z6H+nRfqXIpVu62G727/R9jjQuN81tzH/lyUK2Q3x2qDBCT+1dVnL4v63rysuCkQROjpBsUBBqZTpjow8rdt1+AEpWFL3kt78Js1cOxdaIkDHcHB2D9UBjn4Ht9ZgGpod9aT8M5W/cspIyFR7t61q28D9kqrVEXY=”,
“authMode”: “MOBILE_OTP”
}’

Hi @IntegrationSupport
facing same issue on
https://dev.abdm.gov.in/cm/v1/apps/login/mobileEmail/auth-init
https://dev.abdm.gov.in/cm/v1/apps/auth-init

Hi @manjoorkapoor please use the below curl for reference.

curl --location --request POST 'http://live.abdm.gov.in/cm/v1/apps/login/mobileEmail/auth-init’
–header ‘Authorization: Bearer Bearer eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJyYWdoYXYxOTgxQHNieCIsImNsaWVudElkIjoic2J4Iiwic3lzdGVtIjoiQUJIQS1BIiwicmVxdWVzdGVySWQiOiJQSFItV0VCIiwicGhyTW9iaWxlIjpudWxsLCJleHAiOjE2NTM1OTA4NzcsImlhdCI6MTY1MzU4MzY3NywicGhyQWRkcmVzcyI6InJhZ2hhdjE5ODFAc2J4IiwidHhuSWQiOiJjOGY2ZDc1My04NWVmLTQ4NTItYTVlMC0wOTZkOTc4OTJiMWQifQ.stdEiGhgIDPIxcynACYyvUGWx8JRv_U3uDyUxr-Tv_V1crXEq-sa4SgR_zmIUp_ftbBdm2zWjZanKyPAfOQqet2X9jGBcp_neC-pOSl2cHk3m8aC9r8gHoBbjUGYF1T3oOr2R0tKmSthlls6nwRCOapKkNxoWeuh5bYGDs6QDlYMv35mkDwex33vAc9mwUpX5OBpP2kCDsXa3upfAhb96AdMbxs3HxmGSawXEzaiUW1v81f2OcjQHVSXH0Exjk1jONuQi5iiV6yZGXhFGO4eXvKS8RZd7HTZNz8xmNTox41if8Yaq6Arql1PTBy6bgSSSLlv5hFU5a_ZUjwfh5gTyA’
–header ‘Content-Type: application/json’
–data-raw ‘{
“value”: “O+KrAOL0Y2Sw5vpAHGDowq5eAAEza0z3vVhZs/RFwNttuSP537IZ/vFGCViyp2wJ/jFFtBhN7cGUwvQCbTeRWiRREQwlA2ARudZn3OWzCGib4GEx1QsxY6344uhtPcPfs5sGoOEFHW+GRy6pq0kDt7htgGsCXak30YDqX842w+2CQI5L7gJ+qLHWDlCn40YdoEGDtlvkei89g69qxf8RC76823eVIppGWrklzmbXAR/ww+7tukHnrTSTwcRKfyLSciJ+uNktFIaSnMGUiSNRVRIYIHnrohlsyR9WgHWjKELFPozlJ4ytG/9IEyicopBBf7airDev9QGAwvifHkg+7Q==”,
“purpose”: “CM_ACCESS”,
“authMode”: “MOBILE_OTP”,
“requester”: {
“type”: “PHR”,
“id”: “phr_001”
}
}’

v1/apps/phrAddress/auth-init
v1/apps/login/mobileEmail/auth-init
v1/apps/login/hid/auth-init

In our PHR mobile App we have above API’s only
We are not having this /v1/apps/auth-init

Thanks

1 Like

Thanks, It is working now.