Secondary Pension Error Responses
If your Secondary Pension return failed due to an error, please review the response codes listed below, along with their explanations, to identify the potential issue.
This information is sourced from the SPCM website under SPCM - Error Responses - SPCM.
Error Responses
SPCM will reject submissions which do not meet the technical requirements, returns which do not conform to the schema, and may also reject returns which contain invalid data.
When an error occurs, SPCM will provide information about the cause of the error in a JSON response. This section describes the format of the JSON response and the situations in which SPCM will reject a return.
"code"
The value "MessageValidationFailed" indicates that the message failed checks for logical consistency and data content.
"message"
This will always be "Message validation failed" for this type of exception.
"messages"
An array of message validation errors:
"code"
This code can be used to identify the type of validation error. The codes are:
- InvalidEmployerData: The employer's socialSecurityNo, taxRef and name are not consistent with any employer known to the Revenue Service.
- PayPeriodNotCovered: The employee's pay period is not one of those listed in the coverage section of the return.
- PensionSchemeIdNotFound: The pensionSchemeId for this employee has not been reported in the pensionSchemes array.
- OccupationCodeInvalid: The occupationCode is not a valid code according to the list at https://www.gov.gg/ocodes.
- DuplicatePayRecord: There are duplicate pay records for the employee for a particular period.
- DuplicateEmployer, DuplicateEmployee, DuplicatePensionScheme: Records of the relevant type have duplicate Ids within this return.
- PurposeNotSupported: The purpose specified, while defined in the JSON schema, is not supported by the SPCM system (e.g. the PensionProvider purpose).
- MessageVersionNotSupported: The message version specified cannot be used for conveying a message of this type (the error message property will contain more information).