> For the complete documentation index, see [llms.txt](https://docs.emudhradigital.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emudhradigital.com/documentation/esign-v3-ca-ekyc-account/error-codes.md).

# Error Codes

eSign API 3.3 groups error codes by category.

| Range        | Category                 | Selected codes                                                                                                                                                          |
| ------------ | ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 101–114, 199 | eSign request / response | 101 invalid format · 104 XML signature validation failed · 107 invalid digital signature · 112 duplicate `txn` · 113 user timeout · 114 invalid credentials · 199 other |
| 201–206, 299 | Document level           | 201 invalid hash · 202 invalid response signature type · 206 document cancelled by user · 299 other                                                                     |
| 301–303, 399 | Status check             | 301 invalid format · 302 transaction not found · 303 invalid version · 399 other                                                                                        |
| 401–420, 499 | Bank KYC                 | 402 invalid bank signature / unregistered bank · 405 duplicate `txn` · 420 invalid photo · 499 other                                                                    |
| 501–521, 599 | Organisational KYC       | 506 invalid KYC Org ID · 509 invalid signatory certificate identifier · 521 physical verification tag mismatch · 599 other                                              |

## Handling guidance

| Situation               | Recommended handling                                                            |
| ----------------------- | ------------------------------------------------------------------------------- |
| `113` user timeout      | Mark as expired; start a new transaction with a new `txn` if the user retries.  |
| `206` on some documents | Treat those documents as unsigned; others in the same response may be signed.   |
| `302` on status check   | Verify `txn` and `aspId`; the transaction may not have been accepted.           |
| `104` / `107`           | Check the ASP signing certificate mapping and XML canonicalisation.             |
| `114`                   | Signer entered wrong credentials; the account may lock after repeated failures. |

{% hint style="info" %}
The full code list is in Section 5 of CCA eSign API 3.3. Rows marked "selected" above show the most common codes; add eMudhra-specific messages here before publishing.
{% endhint %}
