Common error messages and validation

Refer to Error messages for information on error message codes.

This section covers error and validation messages from the IRIS Cascade API microservices.

If you receive any error messages not covered in this section, please send them to hrapi@iris.co.uk and include any related log files.

Absence

Absence day

BankDetails

Employees

Field lengths

Guid

Jobs

Service bus

Absence

'Absence Reason Id' cannot be updated.

'Absence Reason Id' cannot be updated. Please create a new Absence for the Absence Reason.

Absence duration must be less than or equal to 366 days.

Absence duration must be less than or equal to 366 days.

'Employee Id' cannot be updated.

'Employee Id' cannot be updated. Please create a new Absence for the Employee

'Absence Reason Id' must exist and have a parent.

'Absence Reason Id'must exist and have a parent.

'Start Date' >= Minimum date.

'Start Date' must be greater than or equal to minimum date (1753/01/01)

'End Date' >= Minimum date.

'End Date' must be greater than or equal to minimum date (1753/01/01)

'Employee Id' exists.

'Employee Id' invalid

Absence day

Absence should exist

'Absence Id' 'invalid

Absence should have absence days.

'Absence Id' cannot be updated. Please create a new Absence Day for the Absence

'Date' cannot be updated.

'Date' cannot be updated. Please delete this Absence Day and create a new Absence Day with the new date.

'Date' must be unique for the Absence.

'Date' ' must be unique for the AbsenceID.

'Date' must be between or equal to Absence 'Start Date' or 'End Date'.

'Date' must be between or equal to Absence 'Start Date' or Absence 'End Date'

Both DurationMinutes and DurationDays cannot be Zero

Both DurationDays and DurationMinutes cannot be zero. Please delete the Absence Day if required.

BankDetails

EmployeeId should exist

Employee ID invalid

Employee should have a single bank details record

Employee already has bank details assigned

Employees

'Date Of Birth' >= Minimum Date

'Date Of Birth' must be greater than or equal to Minimum Date (1753/01/01)

'Continuous Service Date' >= Minimum date

'Continuous Service Date' must be greater than or equal to minimum date (1753/01/01)

'Employment Start Date' >= Minimum date

'Employment Start Date' must be greater than or equal to minimum date (1753/01/01)

'Employment Left Date'>= Minimum date

'Employment Left Date' must be greater than or equal to minimum date (1753/01/01)

'Last Working Date' >= Minimum date

'Last Working Date' must be greater than or equal to to minimum date (1753/01/01)

Only a single E-mail can have an Ownership of 'Organization'."

Only a single E-mail can have an Ownership of 'Organization'."

Only a single E-mail can have an Ownership of 'Personal'.

Only a single E-mail can have an Ownership of 'Personal'.

Only a single item can have an Ownership of 'Organization' and Type of 'Landline'.

Only a single item can have an Ownership of 'Organization' and Type of 'Landline'.

Only a single item can have an Ownership of 'Organization' and Type of 'Mobile'

Only a single item can have an Ownership of 'Organization' and Type of 'Mobile'

Only a single item can have an Ownership of 'Personal' and Type of 'Landline'.

Only a single item can have an Ownership of 'Personal' and Type of 'Landline'.

Only a single item can have an Ownership of 'Personal' and Type of 'Mobile'.

Only a single item can have an Ownership of 'Personal' and Type of 'Mobile'.

'Continuous Service Date' <= the 'Employment Start Date'

'Continuous Service Date' should be on or before the 'Employment Start Date'

'Continuous Service Date' <= the Job 'Start Date'

'Continuous Service Date' should be on or before the Job 'Start Date'

'Display ID' is unique

'Display ID' cannot be empty or duplicated.

'Employee ID' exists

'Employee ID' invalid

'Last Working Date' <= the 'Employment Left Date'

'Last Working Date' should be on or before the 'Employment Left Date'

'Employment Left Date' >= the Job [{jobId}] 'Start Date'

'Employment Left Date' should be on or after the Job 'Start Date'

'Employment Left Date' >= the 'Employment Start Date'

'Employment Left Date' should be on or after the 'Employment Start Date'

Hierarchy Node exists

Hierarchy Node invalid

Field lengths

For max field lengths, refer to the swagger documentation which has this listed on every field.

Guid

ID should be a Guid

The value provided is not a valid Guid.

Jobs

StartDate >= Minimum date

'Start Date' must be greater than or equal to minimum date (1753/01/01)

'End Date' >= Minimum date

'End Date' must be greater than or equal to minimum date (1753/01/01)

LineManagerId should exist

Line Manager ID invalid

HierarchyNodeId should exist

Hierarchy Node invalid

EmployeeId should exist

Employee ID invalid

StartDate on or after ContiniousServiceDate

'Job Start Date' should be on or after the 'Continuous Service Date'

StartDate before Empolyee EmploymentLeftDate

'Job Start Date' should be before the 'Employement Left Date'

Service bus

Service bus error

Service host initialization failed please contact hrapi@iris.co.uk and send any related log files.