While calling this api with the valid access token, got response as below
{
“error”: {
“code”: 2500,
“message”: “Unknown error occurred”
}
}
While calling this api with the valid access token, got response as below
{
“error”: {
“code”: 2500,
“message”: “Unknown error occurred”
}
}
We tested the concered api it is working fine at our end,there must be something wrong with generated token or something wrong with header
curl --location --request POST ‘https://healthidsbx.abdm.gov.in/api/v1/registration/aadhaar/generateOtp’
–header ‘accept: /’
–header ‘Accept-Language: en-US’
–header ‘Content-Type: application/json’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NzQwNDE1MDIsImlhdCI6MTY3NDA0MDkwMiwianRpIjoiYmMxZTE2ODctZjNmYi00MDRjLTk5YTMtMDFlMTI1YWI5NWVjIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6WyJyZWFsbS1tYW5hZ2VtZW50IiwiYWNjb3VudCJdLCJzdWIiOiIwNmJkNGZlNy04NjEyLTRiZmEtYTI1NS1iMDdiZmFjZmU1M2QiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJoZWFsdGhpZC1hcGkiLCJzZXNzaW9uX3N0YXRlIjoiYzc3MzVhMTEtZjc5OS00MzU0LWE5MGEtMzBkZTc4MmFjYzhjIiwiYWNyIjoiMSIsInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoZWFsdGhpZF9zZXJ2ZXIiLCJIaWRJbnRlZ3JhdGVkUHJvZ3JhbSIsImhlYWx0aGlkLXdlYiIsIm9mZmxpbmVfYWNjZXNzIiwiaGVhbHRoSWQiXX0sInJlc291cmNlX2FjY2VzcyI6eyJyZWFsbS1tYW5hZ2VtZW50Ijp7InJvbGVzIjpbInZpZXctY2xpZW50cyIsInF1ZXJ5LWNsaWVudH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