Errors & Sandbox Fixtures
Error Codes Reference
| Error Code | HTTP Status | Description |
| :--- | :--- | :--- |
| `INVALID_FORMAT` | 400 | The provided document identifier does not conform to official regex formatting. |
| `MISSING_CONSENT` | 400 | Explicit user consent is mandatory for legal Indian identity checks. |
| `VERIFICATION_FAILED` | 422 | Upstream database confirmed the record is invalid, inactive, or mismatched. |
| `PROVIDER_UNAVAILABLE`| 503 | Live verification provider timed out or is temporarily offline. Retry with backoff. |
---
Deterministic Sandbox Test Matrix
When using `as_test_...` API keys, requests do not contact live government APIs. You can simulate all possible scenarios using deterministic IDs: