Skip to main content
Error Code would match with the http status code in most cases. 4XX indicates a user error and 5XX indicates a server side error.

By symptom

Start here when you know what you see but not which code it is. Each symptom lists the likely causes, what to check, the codes involved and the workflow step it belongs to.

OTP never arrives

Belongs to: the Generate OTP step of Create an ABHA with Aadhaar OTP, Create an ABHA address with mobile OTP and Log in to an existing ABHA.

The patient is locked out after entering OTPs

Belongs to: the Verify OTP step of every ABHA creation, login and gateway session workflow.

Every call returns 401

Belongs to: every call. See Authorization.

Patient calls return 491

Belongs to: Hold the ABHA Gateway session, and every patient-scoped call in the PHR workflows, such as Approve, deny or revoke a consent in a PHR app and Manage the ABHA profile and KYC.

A webhook never arrives

Belongs to: every workflow that waits on an event. See Webhooks. When abha.created does not arrive, use the Create response to proceed. Belongs to: the wait-for-status step of Request a patient’s consent as a HIU.

Records do not decrypt

Belongs to: the decrypt step of Receive and decrypt records as a HIU, and the encrypt step of Serve records on a fetch request. Belongs to: the wait-for-status step of Link a care context as a HIP.

By code