We are getting following error while call the V3 Api.
Request :
curl --location ‘https://dev.abdm.gov.in/hiecm/api/v3/token/generate-token’ \
–header ‘REQUEST_ID: b1688dac-e33c-49ac-aee7-29a224893cf8’ \
–header ‘X_HIP_ID: IN2310000496’ \
–header ‘TIMESTAMP: 2024-01-08T11:29:54.035Z’ \
–header ‘X_CM_ID: sbx’ \
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE3MDQ3MTQ1MTgsImlhdCI6MTcwNDcxMzMxOCwianRpIjoiMTc2ZDJhNTctZWY0Ny00YTNmLTgwYmUtNTRjZmI1ODg3YTRiIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJmODNkNzQyMC0wZjAzLTRiYWUtYmVhOC0zMGYzNzFkMWY2NGQiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAzODQ0Iiwic2Vzc2lvbl9zdGF0ZSI6ImFjOWRkOGVmLTc0ZTItNGE5MC04M2FhLTQzZmVhOGE0MDI4ZCIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDM4NDQiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRJZCI6IlNCWF8wMDM4NDQiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY4LjI1IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc2J4XzAwMzg0NCIsImNsaWVudEFkZHJlc3MiOiIxMC4yMzMuNjguMjUifQ.mA92djIeAh7ZX3HKcoL6TM0JfHbPZ1KFdjMT8REeDhM4V8lmHrJIbc71YN0nodNXDmsf0AtvRP3ZALGr8NwC5VyDTp6unfPeCUh5i2nYP7DP6a-zTdz9HL2Ltesn0TBgU__ut7wxw6f2CVIqUqucQNE_s7rBljYv3K-WdLmNp8yedqCLg1VDOjpcwzimi6-7uhkYh7grh9pwsUuzIKX2uA3c2YoQwLzVGzR0ecIoPTr5g8yxooJc5D4f9a2bMKY8iWMi2TxYZxpmbNr8znADUlDL0WJYDz1KDcESuQrC4zGDVd32XuQXbgBe2wGd7X5a29DqaTnXqHsm70FfPr9pOg’ \
–header ‘Content-Type: application/json’ \
–data-raw '{
“abhaNumber”: XXXXXXXXXXXXXX,
“abhaAddress”: “XXXXXXXX@sbx”,
“name”: “XXXX XXXX XXXX”,
“gender”: “M”,
“yearOfBirth”: 2000
}’
Response :
{
“code”: “900908”,
“message”: "Resource forbidden ",
“description”: “User is NOT authorized to access the Resource. API Subscription validation failed.”
}