GuidesAPI ReferenceChangelog
Log In

Job Errors

Pinwheel runs a login job when a user connects an account. After the connection is established, Pinwheel executes jobs for performing a direct deposit switch or retrieving platform core data.

📘

Looking for a different category of errors?

Pinwheel's system also communicates API Errors and Link SDK Errors.

Sometimes, these jobs fail. You can listen for failure by registering for webhook events or listening to the onError callback on the Link SDK. See Link SDK Errors for more information about this callback.

These error types and codes are enums that are safe for developer use, whereas error messages are liable to change. Pinwheel may introduce new error types and codes as non-breaking changes per the company's Change Management policy.

Error Types

There are five different error types:

Error TypeDescription
invalidAccountsConfigurationInvalid user account configuration.
invalidUserInputUser error.
platformErrorPayroll platform error.
systemErrorPinwheel internal server error.
userActionRequiredUser action is required.

Error codes for invalidAccountsConfiguration error type

Error TypeError CodeDescriptionMessage
invalidAccountsConfigurationchangesTemporarilyDisabledThis error is thrown when a change is rejected due to existing changes that are still pending on the account, e.g., a direct deposit switch has been submitted and is pending processing.Uh oh, looks like your account has pending changes. Please wait for them to complete before trying again.
invalidAccountsConfigurationmaxAccountsThis error is thrown when a user has reached the maximum number of direct deposit allocations, such that a new one cannot be added.Uh oh, you've reached the maximum number of accounts. Please remove one via your payroll provider before trying again.

Error codes for invalidUserInput error type

Error TypeError CodeDescriptionMessage
invalidUserInputchallengeAnswerIncorrectThe answer to the challenge question was invalid, e.g., during an MFA step.Uh oh, the verification answer you provided is invalid. Please try again.
invalidUserInputemailNotRegisteredThis error is thrown when the email address provided by the user has not been registered with the payroll platform.Uh oh, the email you are trying to use has not been registered. Please try again with a different email or contact your payroll administrator for help.
invalidUserInputinvalidCredentialsThe user has entered invalid credentials.Uh oh, the credentials you entered are invalid. Please try again.
invalidUserInputinvalidInputThis is a catch-all error that is thrown to capture generic input errorsUh oh, the information you entered is invalid. Please try again.
invalidUserInputinvalidMfaCodeThe MFA code that was entered was invalidUh oh, the authentication code you entered is invalid. Please try again.
invalidUserInputmfaTimeExceededThis error is thrown when the MFA token expiresUh oh, the request has timed out. Please try again. Please try again.
invalidUserInputpasswordsNotEqualThis error is thrown in the password reset flow when a password and its confirmation do not match.Uh oh, the passwords do not match. Please try again.
invalidUserInputtimedOutWithNoInputThis error is thrown if the Link modal is left up for 15 minutes without user input submitted.Uh oh, looks like your device has been disconnected. Please exit and try again.
invalidUserInputvalidationFailedThis is a catch-all error that is thrown to capture other validation issues (e.g. driver's license)Uh oh, the information you entered is invalid. Please try again.

Error codes for platformError error type

Error TypeError CodeDescriptionMessage
platformErrorcardNotSupportedThis error is thrown if the account does not support updates with this card.Uh oh, this card type is unsupported.
Please contact your payroll administrator for assistance
platformErrorcardNumberRejectedThis error is thrown if the card number is rejected by the account.Uh oh, this card number was rejected.
Please contact your payroll administrator for assistance.
platformErrordataNotRefreshableThis error occurs only for Income and Employment jobs. It is raised when the user's payroll platform can surface the data requested when the user starts a new link session but not when the job is run via a refresh. Data availability sometimes requires user action, such as an MFA code input, to retrieve the requested data.This error is applicable to any job that is part of the Income and Employment suite (Income, Employment, Identity, Paystubs, Shifts, and Direct Deposit Allocations). Since this error is only viewable asynchronously via the job results endpoint, there is no message shown to the user in the Link modal.
platformErrorlocationRestrictedThis error is thrown if the platform cannot be accessed at the user's current location. For example, some employers restrict access to corporate networks or from specific IPs or locations.Uh oh, looks like your account cannot be accessed from your location.
platformErrormaxFailedAttemptsThis error is thrown if the user reaches maximum login attempts.Uh oh, you've reached the maximum number of attempts. Please wait until your account is unlocked before trying again.
platformErrorplatformErrorThis error is thrown when there is an issue with the underlying payroll platform. While our connection behaves as expected, the platform is not working as expected.Uh oh, looks like we’re having trouble getting you connected. Please try again later.
platformErrorplatformUnavailableThis error is thrown when the platform is unavailable, e.g., some platforms will go offline during routine maintenance.Uh oh, looks like we're having trouble getting you connected. Please try again later.
platformErrorroutingNumberRejectedThis error is thrown when the routing number provided in the Link token is rejected by the platform's validation logic.Uh oh, something unexpected happened. We are trying to fix this as quickly as possible, so please try again later.

Error codes for systemError error type

Error TypeError CodeDescriptionMessage
systemErrorsystemErrorAn unhandled error occurs when a payroll integration behaves unexpectedly. These errors are fixed such that subsequent users do not trigger themUh oh, looks like we're having trouble getting you connected. Please try again later.

Error codes for userActionRequired error type

Error TypeError CodeDescriptionMessage
userActionRequiredaccountLockedThis error is thrown when the user's account has been locked. Users will need to reach out to their HR Admin to proceed.Uh oh, looks like your account has been locked. Please contact your payroll administrator to proceed.
userActionRequiredaccountLoggedInThis error is thrown if the platform detects that the user is logged in via another mechanism.Uh oh, looks like you're logged in already. Please log out of your account before trying again.
userActionRequiredaccountNotActiveThis error is thrown when a user attempts to log in to an inactive account, e.g., if they've been terminated and have lost access.Uh oh, your account is inactive. Please contact your payroll administrator to continue.
userActionRequiredcardSwitchDisabledThis error is thrown if the account does not support any updates to card settings, e.g., the employer has disabled the ability to update settings within the online portal.Uh oh, your account does not support this action. Please contact your payroll administrator to continue.
userActionRequiredchangePasswordRequiredThis error indicates that the user must update their password before logging in.Uh oh, you will need to update your password before proceeding. Please login through your payroll provider to continue.
userActionRequiredcontactHelpDeskThis error is thrown if the user needs to contact their payroll admin to continue.Uh oh, looks like your account has been locked. Please contact your payroll Help Desk to continue.
userActionRequireddirectDepositAllocationsDisabledThis error is thrown if the account does not support direct deposit switches through the online portal, similar to directDepositDisabledUh oh, your account does not support this action. Please contact your payroll administrator to continue.
userActionRequireddirectDepositDisabledThis error is thrown if the account does not support any updates to direct deposit settings, e.g., the employer has disabled the ability to update settings within the online portal.Uh oh, your account does not support this action. Please contact your payroll administrator to continue.
userActionRequiredmfaSetupRequiredThis error is thrown if MFA needs to be set up, e.g., on first-time loginUh oh, you'll need to set up multi-factor authentication before proceeding. Please login through your payroll provider to complete setup before trying again.
userActionRequiredsessionTimeoutThis error occurs when the session closes after a period of inactivity, e.g., due to a lack of user action.Uh oh, looks like your session has timed out. Please exit and try again.
userActionRequiredpayoutCardsDisabledThis error is thrown if the account does not support card switches through the online portal, similar to cardSwitchDisabled