error codes.md

Error codes

400 Bad Request

You may receive a 400 Bad Request if:‌

There are issues in the body of your request

{% hint style="danger" %} "information": {
"addresses": ["This field is required."]
} {% endhint %}

{% hint style="success" %} How to fix this issue

Add all the required fields to the body of your request. {% endhint %}

{% hint style="danger" %}

"city": ["Not a valid string."]

{% endhint %}

{% hint style="success" %} How to fix this issue

Format all your fields according to their data type. {% endhint %}

There's an issue with your account

{% hint style="danger" %}

"request_equifax": ["Account not configured to \"request_equifax\".
 Please contact support@certn.co to update your plan."]

{% endhint %}

{% hint style="success" %} How to fix this issue

Contact our support team to have your account configured for this check or to confirm that your payment method is correctly configured.

For a demo account, use this payment method. {% endhint %}

Something is preventing your request from completing

{% hint style="danger" %}

"non_field_errors": ["Cannot generate report for incomplete hr applicant."]
or
"non_field_errors": ["Cannot generate report for incomplete applicant."]

{% endhint %}

{% hint style="success" %} How to fix this issue

Wait for the application's status field to show Returned before generating the final report. {% endhint %}

{% hint style="danger" %}

"non_field_errors": [
    "employer_references_max must be greater than employer_references_min."
]

{% endhint %}

{% hint style="success" %} How to fix this issue

Edit the request's check settings to make sure that any min values are less than or equal to the corresponding max values. {% endhint %}

401 Unauthorized

You may receive a 401 Unauthorized if:‌

Your authorization header is missing or incorrect

{% hint style="danger" %}

"detail": "Authentication credentials were not provided."

{% endhint %}

{% hint style="danger" %}

"detail": "Invalid token."

{% endhint %}

{% hint style="success" %} How to fix this issue

Add an authorization header to your request and make sure it includes your API Key.‌ {% endhint %}

403 Forbidden

You may receive a 403 Forbidden if:

You don't have permission to make this request

{% hint style="danger" %}

"detail": "You do not have permission to perform this action."

{% endhint %}

{% hint style="success" %} How to fix this issue

Use the URL that corresponds to your industry and make sure you're authorized to access this endpoint. {% endhint %}

404 Not Found

You may receive a 404 Not Found if:‌

The resource you called doesn't exist

{% hint style="danger" %}

"detail": "Invalid page."

{% endhint %}

{% hint style="success" %} How to fix this issue

Make sure the page number you entered is a valid integer and within the bounds of your expected results. {% endhint %}

{% hint style="danger" %}

"detail": "Not Found."

{% endhint %}

{% hint style="danger" %}

<HTML Page> NOT FOUND

{% endhint %}

{% hint style="success" %} How to fix this issue

Add your application ID to the URL and make sure it's in the proper format. {% endhint %}

{% hint style="danger" %}

"detail": "Not Found."

{% endhint %}

{% hint style="danger" %}

<HTML Page> NOT FOUND

{% endhint %}

{% hint style="success" %} How to fix this issue

Add your team ID to the URL and make sure it's in the proper format. {% endhint %}

500 Internal Server Error

You may receive a 500 Internal Server Error if:‌

You sent something we didn't expect

{% hint style="danger" %}

<HTML Page> Server Error (500)

{% endhint %}

{% hint style="success" %} How to fix this issue

Format all your fields according to their data type. Most fields in our API take strings, while request flags take booleans. {% endhint %}