M1 V3 apis issue

Hi @IntegrationSupport @Sachin

we are using this api https://abhasbx.abdm.gov.in/abha/api/v3/enrollment/request/otp

REQUEST BODY AND HEADER

curl --location ‘https://abhasbx.abdm.gov.in/abha/api/v3/enrollment/request/otp
–header ‘REQUEST-ID: acc4021f-f7d8-4ae2-9cfb-240c1f4589a5’
–header ‘TIMESTAMP: 2024-02-15T09:44:12.452Z’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE3MDY2MTAxMTYsImlhdCI6MTcwNjYwODkxNiwianRpIjoiYWE0YzI5NTUtY2ZkNS00YWQ0LThmMjMtMzhmOWRlOTQyZmExIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJlYzQ4ZGM1OS02MDQ1LTQyMmItOGVkMC1lYjdlMGFiNGRmMzQiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAyMzU4Iiwic2Vzc2lvbl9zdGF0ZSI6IjU2YmFiYmRkLTY0MjUtNDI3Zi1hZTliLWRiMDg4M2JmNWMwOSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwicGhyIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDIzNTgiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjcxLjM4IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJjbGllbnRJZCI6IlNCWF8wMDIzNTgiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc2J4XzAwMjM1OCIsImNsaWVudEFkZHJlc3MiOiIxMC4yMzMuNzEuMzgifQ.CSY3ahlIjrPTcFRpPQjQgyTO4978FvcFLI5Qurh_PhiOlPa5EMBzgRplcv5_7iAT-lWtNoxXKGU9s8P7lLGvMqOKkVsTY-M0RfuqJDZHRP3hHyfihUX-zMteBm9KuEnlA13Td0lxM13U8XsBtGBa-XOkGXVUP2kKsUYqw6BUQ-gqD5IUz_tRCig0KL2VJoP2652Je_bOcBAGVibkX6wjuecjXskUl4uI68SKiNWfLVYzXcN0jopnSZcdANehwjV3S0wwZ0s30-5wx9goMHsdIvncMAY5Xe1dINqN3sogEux-4ULhG3b05lXWG7nDSIvOqjwH55gA_4ubr6y9_2hZdQ’
–header ‘Content-Type: application/json’
–data '{
“txnId”: “”,
“scope”: [
“abha-enrol”
],
“loginHint”: “aadhaar”,
“loginId”: “J/nPJDOfQvRlzE/lAAsu76cuqysN7RCrdlTtQWrsclD68OdQKYMKaapSxljFd/Y+jEwhf6bfC2ftZGLq70wBmQPsFHSkV7neB2WcJWKR7ZobMYxrXp9dBgfP5qFpvFP5zRrGaFpT/zXnEpRZ8pEiYr3znBwrNDFM6Pnzfm9+zERu9Z87NCeckdIi48IvXOh1ueX5TktMy2jyE+fkg91r3X1EyRII7KZt1tn9/KNENbtO2N0zs2yLhHvdLpUjGU4sRjCp2+5+trHwji1xCE0eacIUDQWhh4UdiQckpo37T7TRvYyQ0p32e/c+i/YF3QeTOm0oP/2TPECt9h7BKwLKszKs/k8BedGiB8+TjQEgMCgYb870BOIRcXCE/mj3KFrISGfirBc40fCLYvPCK3SlR8g3+h0e3q2DcZ8BfA8r8XuIoro4zgB0IpIJBxbXqlYzA99f5Je9hzF2yUvMpDxLbzuymOD89Frgtq3PX/R7Eekr63ielIkrHLiL+UsUpJEG3CWuhIVFxsFnsMr2bgs378DQuvj+NcFRsnl+IpAk++E4PdPZgmKw/5fGu26ZAYDXINf0sf3UQuCC1kuHJG+7HLzj6qX/dXrr4VL4URz6XAoWDkDkEbaccCF/cZNoGOCo4rb93P96VVsJTX8BpehnbpYsE5d5D652UH29e/Qn0vY=”,
“otpSystem”: “aadhaar”
} ’

we are getting this response

{
“code”: “900901”,
“message”: “Invalid Credentials”,
“description”: “Invalid Credentials. Make sure you have provided the correct security credentials”
}

kindly please provide the solution for this.
our client id is : SBX_002358

@pritamsingh07100 Use correct RSA encryption.

@IntegrationSupport

am getting this error now

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

is any permission required for V3 apis if yes here is our client id kindly please provide those permissions

client id: SBX_002358

Hi @ pritamsingh07100

Are you able to access V3 Apis from server ?

yes am able to use the v3 apis

Whats your server region / location ? they say it has to be India only

@nik which server you are talking about as because using the apis in postman doesn’t require any setting for region