Trying to generate OPT for mobile login
curl --location --request POST 'https://healthidsbx.abdm.gov.in/api/v2/registration/mobile/login/generateOtp' \
--header 'X_HIP_ID: ehrn_phr' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NDY5MDU3ODAsImlhdCI6MTY0NjkwNTE4MCwianRpIjoiNTM4ZWJhNGQtMTk4Ny00MmNhLWI3OGQtNDNkZGRhMDAyOWYxIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiI3NDMwNzViZS1iNzJlLTRiZGUtYmEzOC02OTU1YjRkOTY1MDYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJIRUFMVEhWRU5fNDczMDkxIiwic2Vzc2lvbl9zdGF0ZSI6ImZkOGZhNTY4LWE3MmUtNDMzMi1hMGVlLTExYTk4NGFkZDMwNiIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IkhFQUxUSFZFTl80NzMwOTEiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY3Ljc3IiwiY2xpZW50SWQiOiJIRUFMVEhWRU5fNDczMDkxIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtaGVhbHRodmVuXzQ3MzA5MSIsImNsaWVudEFkZHJlc3MiOiIxMC4yMzMuNjcuNzcifQ.bs0G6sifqlaWt7Whkx3wP-rNVQmI25aC2ny4bP_fYHeDuxbE0fnbrSgey1LOln-ifBvA4MHGgpTyDjyGQqi3ijGLcEgF-X5PvxtoibPbtVqRO602bzk4_-NMxTmQOSidOMAVV-K4UKN0YNlq3-3-3HUU66vWi6eWHpXfKBYZyKJ2D8op6KVnDCrb5ajNDfKiN6t0JgHUKr99ujePMMKDPp1dRUi_iALSSmV15Z1BcC-pzOS_zXtx3p2d3n6zjI44whZ8VVTvPGuLL0O7qjEhzxOqaDxpfYXN-l6TwAggExL0B65hIVSecLEHX68s9nC_mVEJb7eSXWDFPPE_m6SyEQ' \
--header 'Content-Type: text/plain' \
--data-raw '{
"mobile": "7875670933"
}
'
Getting following error
{
“code”: “HIS-500”,
“message”: “An unexpected error has occured. Please try again in sometime.”,
“details”: null
}
The same error is coming for generate OTP API for Aadhaar registration also
Dileep