Error messages
If you receive error messages while attempting to consume IRIS HR API, the error will contain a code that will correspond to one of the issues described below.
If the code is not listed below, or the problem cannot be resolved, copy the trace ID from the error payload and share it with your IRIS contact.
Error response format
All errors use the same JSON structure:
{
"code": "xxx-xxx-xxxx",
"description": "Some Description of what went wrong",
"log_trace": " rrt-6269014584192592964-b-geu2-1879108-112404252-2"
}
Authentication and access
| Code | HTTP status | Description | When it happens |
|---|---|---|---|
|
401-000-0001 |
401 Unauthorized |
The supplied access token has expired. |
The access token has expired. Request a new token and try again. |
|
401-000-0002 |
401 Unauthorized |
An access token is missing or invalid. |
No access token was sent, or the token is not valid. Check the |
|
401-000-0003 |
401 Unauthorized |
The API being called is not a part of a product that the client application subscribes to. |
The client application is not subscribed to the API product that contains this endpoint. |
|
401-004-0001 |
401 Unauthorized |
The API being called requires Tenant defined. |
The client application does not have a tenant configured. Contact IRIS to correct. |
|
403-000-0001 |
403 Forbidden |
The resource requires scopes that are not included in the access token. |
The access token does not include the scope needed for this endpoint. Request a token with the required scope. |
Requests and validation
| Code | HTTP status | Description | When it happens |
|---|---|---|---|
|
400-000-0001 |
400 Bad Request |
A forbidden range of characters was detected in one of the inputs |
A request value contains characters that are not allowed. Remove the characters and try again. |
|
400-000-0002 |
400 Bad Request |
The JSON Payload contains malformed content |
The request body is not valid JSON. Check the syntax of the request body. |
|
400-004-0001 |
400 Invalid Request |
The error text returned by the system (for example, "Top value '100' did not fall within acceptable range [1 - 50]") |
A request parameter is outside the allowed range or format. The message describes the specific problem. |
|
400-004-0002 |
400 Invalid Request |
The error text returned by the system (for example, a message describing an invalid query) |
A query or filter in the request is not valid. The message describes the specific problem. |
|
400-004-0003 |
400 Invalid Request |
The following fields are invalid: [field list]. Please refer to the documentation to review the field requirements. |
One or more fields in the request failed validation. The field names are listed in the message. Check the field requirements for each listed field. |
|
404-000-0001 |
404 Not Found |
The specified resource cannot be found. |
The URL does not match any endpoint in this API. Check the path. |
|
405-000-0001 |
405 Method Not Allowed |
The resource does not support the method METHOD. |
The HTTP method (GET, POST, PUT, PATCH, DELETE) is not supported for this endpoint. Check the endpoint documentation for the allowed methods. This error also appears when your client application does not have access to a feature, such as bank details, absences or user-defined fields. Contact your administrator to request access. |
Conflicts and missing records
| Code | HTTP status | Description | When it happens |
|---|---|---|---|
|
404-004-0001 |
404 Not Found |
The specified resource was not found. |
The record you asked for does not exist, or has been removed. Check the ID you sent. |
|
409-004-0001 |
409 Conflict |
The request could not be completed due to a conflict with the current state of the target resource. |
The request conflicts with the current data. For example, the record may already exist or may have been changed by someone else. Refresh the data and try again. |
|
409-004-0002 |
409 Conflict |
EmployeeId: [employee ID]. Please refer to the documentation to review the field requirements. |
The employee already has this record. For example, the employee already has bank details assigned. |
Rate limits and quotas
| Code | HTTP status | Description | When it happens |
|---|---|---|---|
|
429-000-0001 |
429 Rate Limit Exceeded |
The global rate limit for IRIS' API platform has been exceeded. Please try again in a moment. |
Too many requests are being made across the platform. Wait a moment and try again. |
|
429-000-0002 |
429 Quota Exceeded |
The quota of daily calls for this client has been exceeded. |
Your client application has used its daily allowance of API calls. Try again tomorrow, or contact your administrator to increase the limit. |
|
429-000-0003 |
429 Rate Limit Exceeded |
The client application is exceeding the rate-limit as specified in the terms and conditions. |
Your client application is sending requests faster than allowed. Slow down and retry. |
Server errors
| Code | HTTP status | Description | When it happens |
|---|---|---|---|
|
500-000-0000 |
500 Server Error |
An error has occured. |
An unexpected error occurred. If it keeps happening, contact support with the |
|
500-000-0001 |
Matches the underlying error |
The server returned a status status error, message: message |
The back-end service returned an error that is not covered by a more specific code. The status and message come from that service. |
|
500-000-0003 |
500 Server Error |
Issue retrieving the client rate limit from the server. |
The API could not check your rate limit. Try again shortly. |
|
500-000-0004 |
500 Server Error |
This status check indicates that there are currently issues with the API service. |
The status endpoint reports a problem with the service. Try again later. |