Not able to generate transaction token for
api : https://healthidsbx.abdm.gov.in/api/v2/registration/aadhaar/generateOtp
this is my curl:
curl --location ‘https://healthidsbx.abdm.gov.in/api/v2/registration/aadhaar/generateOtp’ \
–header ‘accept: application/json’ \
–header ‘Accept-Language: en-US’ \
–header ‘Content-Type: application/json’ \
–header 'Authorization: Bearer ’ \
–data '{
“aadhaar”: “ef1CoWwP/svGYwuw8/A276HyoAue+6moufJefwy0Qsac1eWFqMdJZzxfLCmF4pr6VVFtvdjdSmiwFUh/Rt8CNOZ/qGQp8arq6QCaU/I0X8Sy0hOV1mb0+Abl7itG+P1VhvReuL+hK8Rq+FoSeoT1Hg/PFtxQwJb4LzlS5mLhj/DJfPkTa174EiNCxNVznxNuffaPCOXxfN80wAS2OtO9YBwaoBY03+kUP8ePmXBRgJhupQyJSbm8pDKVXMvnLmnOVtfuYG7Nj7G9DmIwf39w9sh/o6G5T+PfYLvcZHdMwYnScOEqvexFXQ7QW2OYZoVGe9t1ZeyRUeSK5gDC0lR8TTHR48Nx0ZTWNbUyNx1By6T7M8sLtVxdK1jxuhFUfvCGuQByqbMo+CxL9ICjEZirzVWllU14Ojtb3yg/EVnjxJuQBy0FqUydv/hH+l0u7b4sFY7HI6iY2EZXX+3p4wd3RPZwGmB2R1FqE7axl7ICxqw/7TIr5BC3wNrF/GzXsmedZtpF3k6toYCqebwArthCwngkZEElQZGXNij7L2SwmuvPrQjfHda/nNn9JRXI8rj1XkUN2BpDfq5YgVM51br1hqDTLkNk5cVzYEYUnhe922OxSgcPVcr7PvWJfZ2YdIKS1oSTI57XKDw9PvmfFhZESykj82I+HhrgSu7Htt5pYAA=”
}’
getting the below error:
{
“timestamp”: “2023-06-22T08:44:22.677+0000”,
“status”: 401,
“error”: “Unauthorized”,
“message”: “Unauthorized”,
“path”: “/api/v2/registration/aadhaar/generateOtp”
}
my roles : “realm_access”: {
“roles”: [
“hiu”,
“offline_access”,
“healthId”,
“OIDC”,
“hip”
]
},
My Bridge Id : SBX_003343
If the roles are not correct for me to access the api please help to provide or let me know the procedures for the same how to raise the access for any roles
@IntegrationSupport please help