Skip to content

KYC Error Codes

Error codes specific to the KYC APIs (PAN Verification, Compliance Status, DigiLocker).

Error response format

All error responses use this structure:

json
{
  "errorCode": 400,
  "errorType": "proxy",
  "errorMessage": "Invalid PAN"
}

Error codes

EndpointStatusError MessageDescriptionResolution
PAN Verification400Invalid PANPAN format is invalidEnsure PAN is 10 chars: 5 letters + 4 digits + 1 letter
PAN Verification400Invalid RequestRequest body malformedCheck JSON body has pan field
Compliance 206AB400Invalid PANPAN format is invalidSame as above
DigiLocker Init400failed to read request bodyBody is missing or malformedCheck JSON body has pinlessVerification
DigiLocker Fetch400sessionId expired or invalidSession expired or wrongRe-initiate DigiLocker flow
All401Invalid CredentialsToken missing or expiredGet a new access token
All429Quota ViolationRate limit exceededWait and retry with exponential backoff
All500Internal Server ErrorServer errorRetry after delay
All503Service Not AvailableUpstream service downRetry with backoff

Released under the API4Business Terms of Service