Skip to main content
When a request fails, the iDenfy API responds with the appropriate HTTP status code and a JSON body:

Error Identifiers

POST /api/v2/token Errors

Authentication Errors

These occur before any request processing and result in a non-200 response with no identifier field.

Request Parsing Errors

Field Validation Errors

All field validation errors return HTTP 400.

Business Logic Errors

All business logic errors return HTTP 400.

Common Issues

This error means your account has run out of verification credits. It is not a rate-limit issue. Contact your iDenfy account manager to purchase additional credits or upgrade your plan.
The default rate limit is 10,000 requests per hour. If you need a higher limit, contact iDenfy support. Implement exponential back-off in your integration to handle transient rate-limit responses gracefully.
  • Verify that your API key and secret have not been rotated in the dashboard.
  • Check that you are sending credentials in the correct format (HTTP Basic Auth with base64 encoding).
  • Ensure there is no trailing whitespace in your stored credentials.

Example Error Handling