Aadhar, Generate OTP, 500 error

Hi
I am getting 500 error while trying to generate OTP with AADHAR. The curl command is as follows:

curl --location --request POST ‘healthidsbx.abdm.gov.in/api/v1/registration/aadhaar/generateOtp’ \

–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NTA4NjMxODYsImlhdCI6MTY1MDg2MjU4NiwianRpIjoiOTQ3MDdiOGUtM2ZlOC00MzE2LWI1YTItYzMxMGI1ZWVlNjQ4IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJhNjA4NGZlMC1kZTQzLTQ5MGItOWU1Mi1iMjMxZTk3OGZjYjkiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAwMDUxIiwic2Vzc2lvbl9zdGF0ZSI6IjA4YmExZDBhLTYwYTItNDNmYy1hMmQxLTYzZmRkNzYyYjhiMyIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiaGlwIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiU0JYXzAwMDA1MSI6eyJyb2xlcyI6WyJ1bWFfcHJvdGVjdGlvbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsImNsaWVudElkIjoiU0JYXzAwMDA1MSIsImNsaWVudEhvc3QiOiIxMC4yMzMuNjcuMTY1IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc2J4XzAwMDA1MSIsImNsaWVudEFkZHJlc3MiOiIxMC4yMzMuNjcuMTY1In0.aKAmPP5DaqCRzaLt3fVVUkHZtKh8ktcbvjUah3rsNMyUfsboXjbZl2Wh_2-HUq1ZDW8IHtp9PPizdIT3nYkm7ik1I11MONGD-pNHulj7t9KvXkNMT3anioV2nT0cBZtNMwgFT1Xi0XPn2fSJu9r0BtV-UejnRa6am5yoGlamuhXt0mX3eNp6mdShMn93HAn8p1Yi9qEkWMk3Bxo_T2FA-VOpflyuIUr79H5NpsOX6Rr794mSFpAoh9AHBvXgq8AdyGL22K7L06O7I8v7aa2a_CeTfEb9TESf8ggsA9n9ajOYEUxlsO2S2phQMC51PhOZN0l8ZwFXAGGPsu-C_YHfOA’ \

–header ‘Content-Type: application/json’ \

–header ‘Cookie: TS01c078b5=01115a1c9064395d7b5b95f0a6f08ae0d425462f453300a5a312538f0c8f7cd847c7e4938581b7631536620357055d16e16836f882’ \

–data-raw '{

"aadhaar": "387888660376"

}’

Getting following error–
{

"code": "HIS-500",

"message": "An unexpected error has occured. Please try again in sometime.",

"details": null

}

@Shubhanshu_Shukla
please look into the matter, i am also facing the same problem for client id: SBX_000248

Executed same curl at our side, did not face this issue. Please verify all input parameters.

please check your authorization token.

Yes it is working now

1 Like