Issue with https://dev.abdm.gov.in/cm/v1/apps/auth-confirm

I tried /auth-init and it is giving transaction Id in response which I put as request in auth-confirm API.
But API https://dev.abdm.gov.in/cm/v1/apps/auth-confirm is always returning “Invalid transaction id in request” in the response.

image

@IntegrationSupport please help

@Ramandeep1 @IntegrationSupport will be great if I could get any help on this

Hi @Rahmathulla please use the below mentioned demo curl

curl --location ‘https://dev.abdm.gov.in/cm/v1/apps/phrAddress/auth-confirm
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0dUx2Wmp2T3V2c1E1Ry1sVkdydzVQYThWVG04V2dKV3YwZVJXM1pYVmpnIn0.eyJleHAiOjE2ODAwODY3MTQsImlhdCI6MTY4MDA4NjQxNCwianRpIjoiMTJmZTQ5MmQtOGYwZi00OGNkLWEyMTQtN2I3ZmRkMTdjMDM5IiwiaXNzIjoiaHR0cHM6Ly9saXZlLm5kaG0uZ292LmluL2F1dGgvcmVhbG1zL2dhdGV3YXkiLCJhdWQiOiJhY2NvdW50Iiwic3ViIjoiYTgxZjE0YjgtMmNlZC00Mzk3LTk1YTItMzQ0ZjU5NGJmZjRlIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoicHJvZF9waHIiLCJzZXNzaW9uX3N0YXRlIjoiYzYzNjcxOTgtMTNiOS00ZDY1LWJjODgtYzhiMDY2YmQwODZmIiwiYWNyIjoiMSIsImFsbG93ZWQtb3JpZ2lucyI6WyJodHRwOi8vbG9jYWxob3N0OjkwMDciXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwiaGVhbHRoSWQiLCJwaHIiLCJoaXAiXX0sInJlc291cmNlX2FjY2VzcyI6eyJwcm9kX3BociI6eyJyb2xlcyI6WyJ1bWFfcHJvdGVjdGlvbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsImNsaWVudEhvc3QiOiIxMC4yMzMuNzAuMTM1IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJjbGllbnRJZCI6InByb2RfcGhyIiwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXByb2RfcGhyIiwiY2xpZW50QWRkcmVzcyI6IjEwLjIzMy43MC4xMzUifQ.KskDgR4a7aDiG1OwIJA00TdsLKWMG6Nk2VqwQHdxo5xza8mKTzMp_Rmiu6wWDiHYCMw1BPhDwlip1JPeUREpKbUWGmuJUk2QqW_WhX7ktYBTzd6zjB7vTOOCZAP3h5WRyZP5ojxsTnadXHzxC60-wItCwiAYYx1yncLlbms4TT1-xRfOTvvKF98xlmDcToEY5SMDxY_gAjKHykQdTeAKbLAcx_wP_UNrQ40YomQ_dDycts9mO-06Appq_sy3_tsi0d1MftqYJa3s_YHq8AKFGCFXtDtxo-StSR2gZ4Mujp1i7AJc-R-fMsVISmlbW8yIxQ9Vxbm_51y8rkwl-cnE1g’
–header ‘Content-Type: application/json’
–data ‘{
“authCode”: “{{Encrypted_password}}”,
“requesterId”: “{{PHR_ID}}”,
“transactionId”: “{{Transaction_ID}}”
}’

Thanks

Use correct API : Follow these link of swagger for reference for PHR:
https://sandbox.abdm.gov.in/swagger/ndhm-phr-app2.yaml
https://sandbox.abdm.gov.in/swagger/ndhm-phr-app.yaml

Hello, Now I am able to proceed till profile share API.

I am getting an error “code”: 1504,
“message”: “Didn’t receive any response from hip-id:” from the https://dev.abdm.gov.in/cm/v1/patients/profile/share API. Please help me to resolve this @Ramandeep @IntegrationSupport

@Rahmathulla This error generally comes when your HIP server is not responding. Please check this.