Enrollment V3 API not working

https://abhasbx.abdm.gov.in/abha/api/v3/enrollment/request/otp

getting “User is NOT authorized to access the Resource. API Subscription validation failed.”

@IntegrationSupport Please help

1 Like

@nitesh_jain Can you please check this one for V3

@praneeth Kindly share your client_id and company name

CC: @IntegrationSupport

Hi @nitesh_jain

client_id:SBX_001664,
name: Achala Health Services Private Limited.

Kindly check it now.

@nitesh_jain Now we are getting invalid login now
{
“loginId”: “Invalid LoginId”,
“timestamp”: “2023-09-01 15:06:37”
}

Kindly check your request body - loginId value is incorrect, Kindly correct it

Thanks @nitesh_jain , its working now

@praneeth which API you used to get public key

@nitesh_jain @IntegrationSupport @praneeth

I am also getting the same issue while using V3 API “User is NOT authorized to access the Resource. API Subscription validation failed.”
Could you please check mine also.?
Client ID - SBX_003028
Founding Minds Pvt Ltd

@dhanyathanmayi We have initiated for the access

@IntegrationSupport @nitesh_jain @praneeth

Still not getting. Could you please check.?

Hi,

My client id is SBX_001854
Company Name : Intelehealth

I am trying to get the OTP with the following data:

URL :
https://abhasbx.abdm.gov.in/abha/api/v3/enrollment/request/otp

Headers:
{
“Authorization”: “Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2OTY0Mzk4MjYsImlhdCI6MTY5NjQxODIyNiwianRpIjoiMTZhZDNhMjAtMGVkMy00MzhmLWJiZjctZjYzMzkwNGJjZTdhIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiI5NDE1YmQ0Mi0yZTIxLTQ3NzQtYWFjNS1kODQ5OGNkNDE0YTAiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAxODU0Iiwic2Vzc2lvbl9zdGF0ZSI6IjkyN2I5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
Data
{
“scope”: [
“abha-enrol”
],
“loginHint”: “aadhaar”,
“loginId”: “74b686046f7842b0cb18b8aa25fee95c39af4476c8b66c2f53cb0e739c178f22bc49fc4d262068853b42cfe4bf04e6f6250a20d62cf763471873fbc204729c7339c00d0534b5852fe9d98abde51fe3fdaa2d66f5082cb3c6207006d3d38dc8d6dc010f53eaf2d52338b614ce92e338485577f74289333325a837392bf59dd48676ec5efe4fc185429a068677109bd93b5621741798d62001b65b9dd625a6197be9844d1ff9454ca4fe8c15efecabc65f03959c98b67f89909fed3fc0b4402a003b0d6ec0f5cd3833c5e321cfefdddef49dc8d03c5ef0e893803b76b8f470bff9750ea2fd6fb83218bd5a1ab0e113e0cea37ec38696407379ec0c0b5ef740231361431f2e253d85683a42231a78f25b9122751746317435a71f03e4b45fec7080eeab8cbee2b8b6a566536788bbb046c64379cfe994e35e47b342b957fec856e764a07973fb9d303c293c4144d47f76279164800abe931882b73eb344df266c534c3a7021d31f7990beee0a67a7dd3b78c43bcb8f697b574fed32ce8061cd03169c2c873bbd27eae2045300c0d554a221d18819646bb75b6a1f79e3f86114296065d1a947d4fbd93814513f3ccd683d6557ae9a31abcabd8e5e576c201d5e8c42fb30336e70324ea135a1a7d6ba1cd16a51a47360d12ad8d61b5970d14dab4567ab52e5657b369b18907824485afe8faafee6b266061730962064aeeb401d4bdb”,
“otpSystem”: “aadhaar”
}
Error :
{“code”:“900908”,“message”:"Resource forbidden ",“description”:“User is NOT authorized to access the Resource. API Subscription validation failed.”}’

Please check and grant the necessary roles @IntegrationSupport

Thanks

@satyadeep Please share SBX client ID so that we can provide you access for V3 api.

Please share SBX client ID so that we can provide you access for V3 api.

@IntegrationSupport it is

“clientId”: “SBX_001854”,

We already shared the clientid and got reply that access initiated. So please let me know the initiation status?

Client Id : SBX_003028
Company : Founding Minds Pvt Ltd

@IntegrationSupport @nitesh_jain @praneeth

Now error message changed to Access denied. Could you please check.?

@IntegrationSupport,

I am now getting invalid login ID for this

POST /abha/api/v3/enrollment/request/otp HTTP/1.1
Host: abhasbx.abdm.gov.in
Content-Type: application/json
User-Agent: insomnia/2023.5.8
REQUEST-ID: 9b6366ee-6a99-47b7-9bc1-e8ebef27471d
TIMESTAMP:  2023-10-05T11:01:07.027Z
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2OTY1MDQ3NjEsImlhdCI6MTY5NjQ4MzE2MSwianRpIjoiNTllMDNhZjktOGQzZC00N2E5LThhYTEtMDhhODgwNGJmY2IyIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiI5NDE1YmQ0Mi0yZTIxLTQ3NzQtYWFjNS1kODQ5OGNkNDE0YTAiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAxODU0Iiwic2Vzc2lvbl9zdGF0ZSI6IjE1OGIwMTAzLTcyYjQtNDgyMy1hYzVhLTZmMzllOTMyNGMwZiIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhpcCIsImhwX2lkIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiU0JYXzAwMTg1NCI6eyJyb2xlcyI6WyJ1bWFfcHJvdGVjdGlvbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsImNsaWVudElkIjoiU0JYXzAwMTg1NCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiY2xpZW50SG9zdCI6IjEwLjIzMy42Ny4zNyIsInByZWZlcnJlZF91c2VybmFtZSI6InNlcnZpY2UtYWNjb3VudC1zYnhfMDAxODU0IiwiY2xpZW50QWRkcmVzcyI6IjEwLjIzMy42Ny4zNyJ9.RKx_NGYVgcGT5Vf2xFkvhdl86fdl-37zQlTedPrIuex5Dp8PkM3hat7mwE9tcQR7-h0M7Ad2Vqx9HjDR293D6j1Meay_Ckc9RbPdbNKhK_0k5y10WEExfojmDkYTQtlaYBv7OvWtt3bnk4LnRH0KSFSWGlkTtdFv9ayNU2XVv1Sql8jAJUICV0xzEi4vfmdltYZqaQ98YJ07516segwwbvzsFPZShpwJABCyJZohLYVDto9Ci3JgBLXQO_qxxH57FwZ4dPfxm1u80_2fB8_yJXIvCmZMnaEBU4Pe-l8ol4LuxqVVS1FYSgtyO6P9jfQ6b8emrW_dxh_S_YJtln-A4g
Accept: */*
Content-Length: 1122

 {
 	"scope": ["abha-enrol"], 
  "loginHint": "aadhaar", 
  "loginId": "07d09aec1f4c2d222c2e32b49cffa899dd9723c217dae376b92a681faf7f5dd702f8756a629b09a2eeb3df5a4a07da0435b225940df40b9c8399b38e034490ac1c2e171025a12d0e816aa406aea43ab5488cf832d739aafab967bce6f89d97425860e60e1da62c5d2057082ed0795d3d18c66ea4e4f7fa0090527e009c97320613585ec61d20720925abc8b664b5006f176a8bba0d4528b6e2632560b425266e3ce0c44c9977cc272ff390945eafc4f60d7ee69a825c225fc266d2b6e031017262ada95b8908a14c5470ce6a5bdc7e87f564dd8a4df9f7278817c2a58988dde085fc42c605f50466b2580d73ae6e6c159c8df89e422e190183fb59f820530b897353e4e18845fc178d9c700dc79c1a9a8d8996e78b550b77f47885214a30fa183531dcdba786aa8e03b167ae7828c8adfb8e2350981b3292f3b1958fd9312b47cf36506256ec26ee72b6cec0a8efdb22a901f04dd38660a4eb43c27bd163cd82c3395419504cbd001fb633b2d3a6b59dbb4c7f57606e1efeb187cbc27337393de2c6f83793933df06c9d8b2b842b92212338f0d28942fe4e882f469276135add8675f07682dcb05156876d561e454adb4920a141a96bde5f805ab8c1bb99f59c80768d545201df80ce9a354f5dd85d973e721441c3adede0b1e831fb2b026f951b3862986df69aff2d1deed3ac8cf52757c986fd9586773f335ee1f2abe6d9ea", 
  "otpSystem": "aadhaar"
 }  

Error:

{
	"loginId": "Invalid LoginId",
	"timestamp": "2023-10-05 11:01:50"
}

Can you please check this .

Thanks

@dhanyathanmayi Access granted, Please check now

CC @IntegrationSupport