My SBXID: SBX_000178
It seems above sbx id do not have access to both V3 & V2/V1 APIS, I’m getting following error
V3:
{
“code”: “900908”,
“message”: "Resource forbidden ",
“description”: “User is NOT authorized to access the Resource. API Subscription validation failed.”
}
V2:
curl --location ‘https://healthidsbx.abdm.gov.in/api/v2/registration/aadhaar/generateOtp’ \
–header ‘accept: /’ \
–header ‘Accept-Language: en-US’ \
–header ‘Content-Type: application/json’ \
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE3MDY4Njg5MjMsImlhdCI6MTcwNjg2NzcyMywianRpIjoiODMwNjJmZDMtYjQ2NC00ZmFhLTkzMWItY2JmNTdiMmQ5NmY3IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJkNTA3NGQxZi01M2M1LTQwNjUtODQ0My0yMTY4ZmZhMmIxMTQiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAwMTc4Iiwic2Vzc2lvbl9zdGF0ZSI6IjdhNDI2MWEyLTlhMTgtNDU2Yy1iYjllLTI0ZjJkODliNTU4OSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDAxNzgiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZ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xTgeNSQY/bRXfS+4qcOtl2V24xPWwZM6SdlXI/OqhF7OdxA+bnIOo6A3bAbu8f3rOAD8ZZxb9n21VF5LPZh8F5hW90QhfkqSCwbqfxdUB4DdB/Uv6GEpOGc1CT/jzh/47bgcjwnPdDG3VdTgkCQXchUPpgzFhdDbwM8UDPY8W/KnjRHUY6g9+v0Lfw+CmmtzPurVk//uw33LtQzk=”
}’
ERROR:
{
“timestamp”: “2024-02-02T10:03:03.088+0000”,
“status”: 401,
“error”: “Unauthorized”,
“message”: “Unauthorized”,
“path”: “/api/v2/registration/aadhaar/generateOtp”
}