Unable to get the transaction ID

Hi @IntegrationSupport
while the api https://dev.abdm.gov.in/cm/v0.5/users/auth/init is executed , getting the below error

{
“requestId”: “{{$guid}}”,
“timestamp”: “{{timestamp}}”,
“query”: {
“id”: “kavithar1461988@sbx”,
“purpose”: “LINK”,
“authMode”: “MOBILE_OTP”,
“requester”: {
“type”: “HIP”,
“id”: radspatrs
}
}
}

In Header:
authorization : Bearer _________
X-CM-ID: sbx
Let me know what should be done in order to get the transaction ID.

@bhavana, Please check the below API its working fine for my Id and I’m getting proper response need to be check Abha Id you will not face issue.

/v0.5/users/auth/init

curl --location --request POST ‘https://dev.abdm.gov.in/gateway/v0.5/users/auth/init
–header ‘X-CM-ID: sbx’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NzIxMjk4NDgsImlhdCI6MTY3MjEyOTI0OCwianRpIjoiOWNkYzg2OTYtNWU3OC00NzdiLWJjYjQtMzY5Y2NjMzI2MTY3IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIxZWNkZGZiZS02ZTZhLTQ4YjAtYWI2My03ODY1Y2I3MzM4YTAiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJHT1ZJTkRfTFRJIiwic2Vzc2lvbl9zdGF0ZSI6ImQzMzQ5MjA0LWRkYjYtNGIxNS04YmI0LTk0NmYwY2EyMWU5YyIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImNtIiwiaGVhbHRoSWQiLCJPSURDIiwiaGVhbHRoX2xvY2tlciIsImdhdGV3YXkiLCJoaXAiXX0sInJlc291cmNlX2FjY2VzcyI6eyJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50IiwibWFuYWdlLWFjY291bnQtbGlua3MiLCJ2aWV3LXByb2ZpbGUiXX0sIkdPVklORF9MVEkiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX19LCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwiY2xpZW50SWQiOiJHT1ZJTkRfTFRJIiwiY2xpZW50SG9zdCI6IjEwLjIzMy42Ny4xMDEiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsInByZWZlcnJlZF91c2VybmFtZSI6InNlcnZpY2UtYWNjb3VudC1nb3ZpbmRfbHRpIiwiY2xpZW50QWRkcmVzcyI6IjEwLjIzMy42Ny4xMDEifQ.NLgCAFqX1K6WHh8KT_BKCdWgHrYnBrKhRd5YQ3lscLy63Z2sMnl7AftFS9sQ7QXjFxqgk3pXOwvLAUxD7qUW8S8JiKWm-fkr_7jJC_p7CY5woafks4MN6WhEC1XwGwU4XVctFdMdvULLVrWfwMRAOHXoEvzPvnZ6tgNhVFuXqtNnThnYs3Rvx3CEfHfTKDWWtaHi-77ky32Wdd1uEhul7dQXRK6rg-yKU8jLtNc44sHHfUtP7rec8vSmaM-G_Y51POEH9455xYzUVZgQoAjACh0qL4qxyWkH1iE8rdQ-nndb0QQEALOHI6jJ_o63L3PmxjBiDn3WgKXWkxFnBAiXFw’
–header ‘Content-Type: application/json’
–header ‘Cookie: TS011c04bd=01445fed04cc5ee680404479da19ddb88f500e7815ef26f9d4103b49ee23d4cc68ab2aa0488e9dbce89a52c6f647f6d7848f6d0712’
–data-raw ‘{
“requestId”: “3771db66-8190-4c94-874a-ed78b07ab0f4”,
“timestamp”: “2022-12-27T09:58:14.221000”,
“query”: {
“id”: “gdeshmukh@sbx”,
“purpose”: “KYC_AND_LINK”,
“authMode”: “MOBILE_OTP”,
“requester”: {
“type”: “HIP”,
“id”: “GND-HIP”
}
}
}’

/v0.5/users/auth/on-init
{
“requestId”: “9a87a627-57b8-4a8f-84a2-ab5f7c907484”,
“timestamp”: “2022-12-27T08:21:23.060517”,
“auth”: {
“transactionId”: “d318ef3f-71bc-4dd7-a179-2117a2291bda”,
“mode”: “MOBILE_OTP”,
“meta”: {
“hint”: null,
“expiry”: “2022-12-27T10:21:23.060526”
}
},
“error”: null,
“resp”: {
“requestId”: “5f88a93f-d960-49c6-9fe6-3cb30f968997”
}
}

Thanks.

My auth/init is working but auth/on-init throws Forbidden error can you help me out?

Same @Venki08. /v0.5/users/auth/init is working and even sending OTP to mobile, but /v0.5/users/auth/on-init is not being received. This needs to work to receive Transaction Id for OTP confirmation route /v0.5/users/auth/confirm.

Can you help with this @IntegrationSupport ?