Create ABHA With ABHA Number API failing

@Areeb,

Can you give an update on the above.

Thanks,
Shubham

Hello @Areeb
facing this issue sme error for my abha number 91-7028-2783-8112

request
{

"transactionId": "4ea18230-dcb0-4fd5-80b5-322c5c1890e6",

"value": "oOebKriNErcMOeHoDjanOXM9k6d9ioMPeCmlJa5iWhZkOnfnxBxPMTimwzfRkpsxssXVNI2Z6vxvCstAmRhF3eQn629Xi0xRXFI3O1bJXtnDWyIiMqIXIup6Pt3l9pJ/gL2zMf9ZtTxX1hgzv+FBGrRQKocBhQUK43CDfyXhfj7OdvbbRDLak5I3gO1f14Fv4OF1R1QMrRG0YnJ6vKmfuR3RlrS4ORvKg6l9oUk1g0cjC5ji8kErx1Es0zllsPwrTESP1lutGUC9T0BGnJNP5Meqt+msMYvpsYqRRu2+ru1XOWy1ptECZFfEa3rYtkcskWXrDOxX8f9ZThRGO0cl4XjDlh9B3RkcxqL8AQrGdgKQcirBdTZSw6McPS4qOB272I2DzniHYN6qJ8K44GD63Vtj6nRMqYyC/ITHDL/3DeMy242L0+eVxTVmA+fHbi2u/az9/+yBxNsOtNERmIS5c0VZ615smlmGVZdnBKnmRIQrpLLjBevMNpEu5XHHpnYp2cvr50lVTyRyBdnMGZMPOG1aog2Yob2Twl5IG0WbqCZ8I1eiuy2qJ01/ybdZIFRX6M5ZP+DRovkJIsK8r2foUMRg/lsIMXCYf93xNqzDN5lgI8gnrOGYbKrFZ4NrT8wUoThktFlpjba76ZN7zpBAOaklM8rVm8rFf8MamDxME1U="

}

response

{

"code": "MIS-500",

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

"details": null

}

@Areeb @Ramandeep1 -Please see this error which @deeptomar93 has mentioned for below API
https://phrsbx.abdm.gov.in/api/v1/phr/registration/hid/confirm/credential

@deeptomar93 - please try for a new ABHA number; ensure it has state, district, pin populated with values (when creating ABHA, address is the only field that is editable. No other demographic details of the patient should be editable as all details are fetched from UIDAI server and should be used as is)

Hello @Areeb @IntegrationSupport
tried with a new abha number which i created from sbx portal
91-5215-6815-6744

but the issue persists
https://phrsbx.abdm.gov.in/api/v1/phr/registration/hid/search/auth-methods
is working
https://phrsbx.abdm.gov.in/api/v1/phr/registration/hid/init/transaction
also working
but
when it comes to
https://phrsbx.abdm.gov.in/api/v1/phr/registration/hid/confirm/credential
it gives
{

"code": "MIS-500",

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

"details": null

}

Also

if you can provide the exact complete URL of cert api
i need to verify the API is valid or not
i’m using

https://healthidsbx.abdm.gov.in/api/v2/auth/cert

in this i get a public key not private key
how to check if RSA encryption /decryption is valid or not

1 Like

@Areeb How to encrypt the mobile otp in this api: /v1/phr/registration/hid/confirm/credential for testing the same on postman?

Hi
Use RSA Encryption to encrypt the data. Cipher Type - RSA/ECB/PKCS1Padding .You can use this online tool to encrypt data - https://www.devglan.com/online-tools/rsa-encryption-decryption