Trulioo

Trulioo Developer Portal

Welcome to the Trulioo's developer hub. You'll find comprehensive guides and documentation to help you start working with Trulioo as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

There are two types of errors you may encounter when using Trulioo's API: HTTP network errors, and Trulioo service errors. An HTTP error indicates that the request could not be properly handled by the server due to client, network, or server issues. A Trulioo service error means that the request was received and handled correctly, but something went wrong when trying to achieve an identity verification result. This could be caused by a missing required field, a datasource outage, or more (see "Service Errors" below).

HTTP errors

The API uses standard HTTP response codes to indicate the status of a request. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate that a failure occurred due to the content or structure of the request (e.g., a required parameter was omitted, the authentication header is missing, etc.), and codes in the 5xx range indicate a server error on Trulioo's part. 5xx errors are rare, and should be handled by emailing Trulioo support. Here are some troubleshooting tips for the more common 4xx errors:

400 BadRequest

Your request could not be processed, details should be included in the body of the response. Some example causes of a 400 BadRequest are:

Message
Troubleshooting

Account not configured for this product

Ensure you are configured properly with the Get Country Codes request to see the countries you are configured for.

Configuration name not valid

For now, you should always send "Identity Verification" for the configuration name parameter.

Unable to find account

Email Trulioo support to ensure there are no issues with your account.

Transaction not available

Make sure that you are sending the correct TransactionRecordID and that the verification request was sent from this same account.

Account not configured for this country.

Try the Get Country Codes request to see the countries you are configured for.

401 Unauthorized

The user name and password you provided is not valid or you are using an account that does not have API permissions. Make a call to Test Authentication with your username/password in the Authentication header. If you do not see your username echoed back at you, you are using the incorrect password or account.

Missing authorization header

If you are using one of our generated code samples and are receiving the response "Missing authorization header" see Authorization Headers to get examples of how to add them to each language.

415 UnsupportedMediaType

You asked for a media type that we do not support. Make sure your request includes a Content-Type: application/json header.

500 Error

An error happened on the server without a specific message. These are very rare, and should be handled by emailing Trulioo support.

Service Errors

Service errors are caused by invalid customer data, datasource errors, and address correction/address validation issues. Each error includes a code, indicating the category of service error, and a detailed error message eg:

"Errors": [
  {
    "Code": "1001",
    "Message": "Missing required field: FirstSurName"
  },
  {
    "Code": "1005",
    "Message": "Missing Consent"
  }
]

1000 Provider Error - There was an error connecting to the source

One of the datasources your account is configured for may be experiencing an outage. Trulioo's support team is constantly monitoring datasources for such issues.
This error only means that a single datasource could not be reached, so the requests to the other sources on your account should go through as normal.

1001 Missing Required Field

By running Get Fields you can see which fields are required for a specific country. This list of required fields is made up of a combination of mandatory fields across multiple datasources. For example, the following table shows what the required fields might be for 2 separate datasources:

Credit Agency
Consumer

FirstGivenName

FirstSurName

FirstSurName

Gender

DayOfBirth

MonthOfBirth

YearOfBirth

Using these example datasources, if your request only had FirstSurName and Gender values then you would get a 1001 error for the Credit Agency, but you would still get a full response from the Consumer datasource. If you sent only FirstSurName and DayOfBirth, you would get an error from both. Trulioo recommends sending as many of the required fields as possible to optimize your results.

1002 Datasource Unavailable - The source did not respond

One of the datasources your account is configured for may have had an error and hasn't responded to Trulioo's request. Trulioo's support team is constantly monitoring datasources for such outages.

This error only means that a single datasource could not be reached, so the requests to the other sources on your account should go through as normal.

1003 Datasource Error - The source returned an error

One of the datasources your account is configured for has returned an error in response to Trulioo's request. This happens on occasion and Trulioo's support team is constantly monitoring datasources for such errors. The vendor of that particular datasource will be contacted to understand and fix the issue.

This error only means that a single datasource could not be reached, so the requests to the other sources on your account should go through as normal.

1004 State not supported

Relevant to datasource AU Driver license only. The state provided in the request is not supported by the datasource. Use the Get Country Subdivisions call to get a list of valid states/provinces/regions for a specific country.

1005 Missing consent - Consent not sent for the source

Due to the nature of some of our datasources you may need to acquire consent from your customer for their data to be sent to this particular source. Use Get Consents to see which datasources require consent for a specific country. This will give you a list of datasource names that need consent in that country. If applicable, you will need to obtain these consents from your customer and provide them in the "ConsentForDataSources" field of the Verify request. It will be a simple list of strings, as in the following example for Australia:

[
    "Birth Registry",
    "Visa Verification",
    "DVS ImmiCard Search",
    "DVS Citizenship Certificate Search",
    "Credit Agency"
]

Note that for a Verify request if the string values do not match exactly those from Get Consents a 1007 error will be returned as detailed below.

If a datasource requires a consent acknowledgment but does not receive it, then a verification request will not be sent to that specific datasource.

1006 Unrecognized Field Name

One or more field names used in your request were not recognized. Possible reasons are that you are using fields from a different country than the one specified in your request, or that there is a simple spelling mistake in the body of the request.
Use Get Fields to see which field names are available for a specific country and compare with the request you sent to Trulioo.

1007 ConsentDatasourceNotRecognized

As explained in the description for Error 1005, if a datasource requires consent but the provided consent string is in any way different than what's expected, then a 1007 error will be returned. Use Get Consents to get a list of consents needed for a country, and double-check for typos in your request.

1008 Invalid Field Format

The fields in a Verify request need to be of a specific data type. For example, FirstGivenName must be a UTF-8 string and DayOfBirth must be an Integer.
Use Get Fields to see the data type of every field for a specific country.

1009 Unrecognized Field group

One of the datasources has returned an invalid field error. Ensure that the fields in the request are formatted correctly.

1010 Request Timed Out

On rare occasions, Trulioo will be unable to respond in the usual time window and will return this error code. This may be due to networking issues, or other reasons. Trulioo's API offers an asynchronous option, so if you are worried about receiving a 1010 error, it is recommend to set a high timeout value in the Verify request call. This will do two things: 1) set the call to be asynchronous and 2) make sure the request only times out once the value you have set is met.

1011 Duplicate Field received

There may have been a copy paste error or bug that generated a value for a field twice. Simply remove the second value and resend the request.

2000 Unrecognized Error

This is a catch-all for other errors. Please contact Trulioo support for a resolution.

3100 BlurryImage

Relevant to document verification only. When trying to verify a document, image quality is highly important. This error code indicates that the provided image was too blurry to verify. Please retake the image in-focus and resend the verification request with the new image.

3101 GlareImage

Relevant to document verification only. When trying to verify a document, image quality is highly important. This error code indicates that the provided image was too blurry to verify. Please retake the image in good lighting without flash and resend the verification request with the new image. All text on the ID should be readable and not obstructed by a glare spot.

4001 MissingRequiredFieldMobileNumber

Relevant to MobileID only. This error occurs if a mobile number is not present in the request. Ensure at least one of the Mobile related fields (MobileNumber or Telephone) are entered.

4002 InvalidMobileNumber

Relevant to MobileID only. This error occurs if the mobile number entered in the request is not valid. Ensure that the number has been entered correctly and is of the correct format for the given country.

4003 MobileCarrierNotSupported

Relevant to MobileID only. This error occurs if the mobile number entered is from a carrier that is not supported.

Validation Codes

Trulioo also provides information-level messages about some datasources in each response. These should not be considered errors, as they are only returned to notify the developer about validations or corrections Trulioo's system may have carried out on the input.

Currently, all of our validation codes relate to address cleansing. If you don't have address cleansing enabled you will not see any of these validation codes.

3000 Address Corrected

The address sent has had information either added or updated. This updated address will be sent to all other datasources that accept address information.

3001 State Province Changed

The state/province/region in the provided address was found to be incorrect, given the other address values such as city or postal code, and has been updated to a new value.

3002 City Changed

The city in the provided address was found to be incorrect, given other address values such as postal code, and has been updated to a new value.

3003 Street Info Changed

The street in the provided address has been updated to a new value.

3004 Postal Code Changed

The postal code in the provided address has been updated to a new value.

3005 Missing Address Info

3008 Cannot validate address

The address you sent cannot be validated by our address cleansing service. As a result the uncorrected address information provided in the original request will be sent to all other datasources. This address information may be incomplete or incorrect, which increases the likelihood of receiving a service error from one of the other datasources and reduces the likelihood of receiving a match on address values.

3009 Address validation is not available

There has been an issue with Trulioo's address cleansing service. As a result the uncorrected address information provided in the original request will be sent to all other datasources. This address information may be incomplete or incorrect, which increases the likelihood of receiving a service error from one of the other datasources and reduces the likelihood of receiving a match on address values.