Invalid combinations of scopes in V3 API

Hi, I am trying to update mobile number using the API’s

https://healthidsbx.abdm.gov.in/api/v1/auth/init
https://healthidsbx.abdm.gov.in/api/v1/auth/confirmWithMobileOTP
https://abhasbx.abdm.gov.in/abha/api/v3/enrollment/request/otp
https://abhasbx.abdm.gov.in/abha/api/v3/enrollment/auth/byAbdm

in the auth/byABDM I am getting the response saying that
{
“code”: “ABDM-1107”,
“message”: “Invalid combinations of scopes”
}

Can you please help me to solve @IntegrationSupport @satyadeep @ayadav33

here are screen shot.

please help me to resolve this @IntegrationSupport

Hi @Vinay,

authByAbdm needs the scope as
abha-enrol
mobile-verify
dl-flow
Whereas I see that your POST request to this URL does not contains dl-flow
can you check this?

i got the responce as
{
“txnId”: “f70820de-fad6-4c5b-a0cb-1e92db2b0f2f”,
“authResult”: “success”,
“message”: “OTP verified successfully.”
}

but in the ABDM_M1 implementation document. this should give the responce like
this.
{
“txnId”: “da74b6b6-0349-411c-b439-b3debfe6d66c”,
“authResult”: “success”,
“message”: “Mobile number is now successfully linked to your Account”,
“accounts”: [
{
“ABHANumber”: “91-7672-1280-2338”,
“name”: " Kishan Kumar Singh "
}
]
}
can you please help me on this @IntegrationSupport @satyadeep

here is the screen shot of document.

@Vinay,
Did you get a chance to check this API Mapping document ?https://sandbox.abdm.gov.in/documents/API_Mapping_ABHA_HIECM.xlsx
This will help you in identifying what has changed from V1 to V3.

Thanks

Hi @satyadeep @IntegrationSupport
In this document they have mentioned v3 API to update the mobile number and Email address but in the swagger i am not able to find these API’s

how can i get body and headers for this API’s?

please help me to solve.

Thanks

Hi @Vinay,

Did you get a chance to check https://sandbox.abdm.gov.in/documents/ABDM_M1.docx

It is all there in section 2.4 , also if you are just interested in API listing, skip to page 56 of this document.
You have all the APIs there.

Thanks

Hi @satyadeep
in the ABDM_M1 document they have given different API and in the excel sheet there are different API to update Mobile number and Email.

in the M1 Document
image

In the API Mapping Excel sheet they have mention

So which API’s list do i need to consider to update Email and Phone number of profile??

Thanks

@satyadeep @IntegrationSupport In the V2 API its working fine i am using
v2/account/change/mobile/new/generateOTP
v2/account/change/mobile/new/verifyOTP
v2/account/change/mobile/update/authentication

these 3 API working fine but in the case V3 it’s not working

@IntegrationSupport I am stuck here can anyone help?

@Vinay what issue are facing here?

{{apigateway}}/api/v3/enrollment/request/otp

{{apigateway}} /api/v3/enrollment/auth/byAbdm

What is the issue you are getting when you are trying to use these?