What is an error?
There are three categories of Pinwheel errors: API errors, Link Errors (previously called "Link SDK errors"), and Job Errors.
Link Errors occur if an end user hits an error prior to backend job initialization - generally network issues, client/SDK integration problems, or invalid Link tokens.
Job Errors flag bugs, outages, or unique configurations that may impact Pinwheel's ability to log in, complete a direct deposit switch, or retrieve core data. Returned via webhooks and the job-results endpoint. Common examples:
invalidCredentials,directDepositDisabled, anddataNotRefreshable.API Errors occur when the client makes a bad request to the API - e.g.,
INVALID_REQUEST_PARAMETERS/INVALID_ROUTING_NUMBER.
API errors are returned in JSON inside an error object with type (category), code (specific), message (human-readable, subject to change), status_code, and an optional fields array of validation details.