Resource forbidden in OTP

@IntegrationSupport
getting the below error in api/v3/enrollment/request/otp

{
“code”: “900908”,
“message”: "Resource forbidden ",
“description”: “User is NOT authorized to access the Resource. API Subscription validation failed.”
}
client id is SBX_001418

Yes, it seems your client id does not have V3 access. We will assign the same.

Okay, Please let me know once done

@IntegrationSupport have you assigned

@Ramandeep24 still waiting for your reply

@IntegrationSupport we haven’t received any reply from you. How much time it will take to give us the access.

@varunsaluja

We have already provided the role on 1st Feb, you might be some other error.

Please share if you still facing the issue

@IntegrationSupport

@IntegrationSupport @Sachin

Yes previous issue get resolved, But now it provides Access Denied.

POST https://abhasbx.abdm.gov.in/abha/api/v3/enrollment/request/otp
TIMESTAMP: 2024-02-08T07:51:08.000Z

REQUEST-ID: ee8db0bc-9de5-4189-9825-92494eda2f27

Content-Type: application/json

Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE3MDczNzk5MDgsImlhdCI6MTcwNzM3ODcwOCwianRpIjoiNDcxODZhNzUtMTZmYS00MGY4LWIxY2UtYjgzODQ4N2RiMTQyIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiI0ZDM0OGMzOS1hNjNiLTQ2MDMtYWMzZC1hMGQ5YWZmNWIyNjgiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAxNDE4Iiwic2Vzc2lvbl9zdGF0ZSI6IjI1ODRlODJkLTdmODMtNGRkMi05YzU3LWNhZTIzMjllYTViMSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfSwiU0JYXzAwMTQxOCI6eyJyb2xlcyI6WyJ1bWFfcHJvdGVjdGlvbiJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRJZCI6IlNCWF8wMDE0MTgiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsImNsaWVudEhvc3QiOiIxMC4yMzMuNjcuMTkyIiwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXNieF8wMDE0MTgiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY3LjE5MiJ9.QJhMotYOdRI_onwvHEWVP7gLviA3ZeyDqoaXSBdYKbg8LPrxUglcl1VYrluYwDfaD0oTfOijeyWqIk3giHvhCHcRd9WEUbcSlFbC9LmtqgFwc0jNcyLDBZHBbMKRwmLYwZv2D7xzrpDNGzEC7eq-EiDPsOUhdekcFcRZXIBanwOz1gaI_HTB0HjbjqTGTUw8IxqtTxiaXETTrxItmKz65QL80C1jEKP7G39OQD44DKX73McR2xrEQ15KMcFgOJtmFg-ixSPcVyLM4j1R9xIngrpUcvc02JtbdfXn8wIrCsl26Zl3PYjKoVMptD_6OfCcHPfDQL-Xv7jeQdvVbllWBQ

@varunsaluja Use this CURL -

curl --location ‘https://abhasbx.abdm.gov.in/abha/api/v3/enrollment/request/otp
–header ‘Content-Type: application/json’
–header ‘REQUEST-ID: c02215d5-6626-45cc-8185-18101dcebf25’
–header ‘TIMESTAMP: 2024-01-02T07:42:01.646Z’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldhdCI6MTcwNDEwOTI5NSwianRpIjoiNDBkM2JlZD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+o7OLv6Pgl0Jubmy/nPyjRDXPGixOHhwmsdBfqT8OC75WI0HYlEs7UkjtAT/h/VLA5ICLuTEBgZaLB8z+PSR7uWdRpgZt+9+qokKJ3ObENbdX9EMwhqA/nzqujr0Dq1VHz5MmbWwfWO3snca9jPmUiHxUW4GOjqlPmwOa5GFQpmi0ppgo3+MQRe9nYgWteyz/EnE0C0JW3gAftExiHzpoKV/8AfOhQTLO13chUhIFRZnxlfE/Tyiobl52X86CLS+qNIXigw+YApQGP3Q9F0n20qtzfT/3TxpVzLP2ODfl1R6nZLZr8NZzFOTmcc4FQmkcQj2wXMIt8bqfPhu11cBDc9lWKAir8R1EYAz56ybg6EkwBoK4aeHORRcUEGspDZvae3lHdJEpM+SPk3nY6oPm+s9jbrf2BLL89CoSIKI2uR2pE1xGEHLU5dZDNPsnWQ=”,
“otpSystem”: “aadhaar”

@IntegrationSupport still getting the same error Access Denied

curl --location ‘https://abhasbx.abdm.gov.in/abha/api/v3/enrollment/request/otp’ \

–header ‘TIMESTAMP: 2024-02-12T09:31:49.000Z’ \

–header ‘REQUEST-ID: ee8db0bc-9de5-4189-9825-92494eda2f27’ \

–header ‘Content-Type: application/json’ \

–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE3MDc3MzY5NTYsImlhdCI6MTcwNzczNTc1NiwianRpIjoiYmQ0Y2ZiZTMtMGYyZC00ZmI3LWI3ZGMtZDVhMTg1MDBhNDA5IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiI0ZDM0OGMzOS1hNjNiLTQ2MDMtYWMzZC1hMGQ5YWZmNWIyNjgiLCJ0eXAiOiJCZWFyZXIiLCJhen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": "",

"scope": [

    "abha-enrol"

],

"loginHint": "aadhaar",

"loginId": " qMfOsxBjt/s04K2xqFOTTIWudMNODThgZathv2qT+tfQwKldFrx2qSSacOnrhT5G8R242WKwjjE46OEUAGRaHgA4V925qDOCHy/JWdStVmx6emkI5n6wcJumzNhazDrIO3bGAht1KPbHfEYtSaw3nwjrn5E0H72yrO3NMfg7nVcnqGwYwEV57iGIJvIMaXibkGoy+bYBhTYIc9xH2vVmGQ2h3J8Wv7DrRE5gpgBawm9fErmTXeR6BAw+6XfWqyLBtcfwyesHSGSCEsAbMbNMFdwd+aA3br9Gy7MKPzCqRNPcyTW4Kxh1QoJj6Z+kWg+FobrCGXap3h2RWbk2Q+9cRbCUJeR0N7Wd/BUwcGDXQbdtcWp9j3/5l7m1Z8vWMrZlKF2TXJO8i8OUMmjJ8dg62KJQDV3TI0Cb/TJPQIZdgwV19Zq89QWZThmL8DVQEbGSfmgQ2KM33yH/3bHGOzc0bOms5NiLIvRNb0xLYdh7VeLsAU7nXF9vN6Uk9xVC+G2/a8Z8gGGccVlBQWDRPB/qcMuJUheMjSblppZeSl3lHHRNmwc4ZGs=",

"otpSystem": "aadhaar"

}’

@varunsaluja We have requested for the access.