Testing Error Scenarios
This guide explains how to deliberately trigger error scenarios in your test environment. We’ll cover two main testing approaches:
- Forcing credit header failures
- Forcing non-ID check failures
Simulating Credit Header Failures
You can simulate credit bureau failures by using specific street names in your test payload.
To force a credit header failure, simply set the street name in the address to one of the following bureau names:
Equifax
Experian
The service will then return a failed credit header response for the specified bureau.
Credit Header Failure Example
Testing ID-Only Verification
This scenario is useful when testing cases where a user should only pass based on their ID verification.
To force all non-ID checks to fail:
- Set the middle name to
FailNonID
- Ensure all ID-related fields (name, date of birth, ID details) are correct
- Submit the payload
ID-Only Verification Example
For ID-only verification to work properly, ensure that:
- The name matches the ID exactly
- The date of birth is correct
- All ID details (number, type, region) are valid
These test scenarios are available in both Demo and UAT environments.