Null Values
Finch returnsnull for a field on a record when:
- the employment system doesn’t support the field,
- the employment system supports the field but the payroll administrator hasn’t filled in the data, or
- Finch can’t infer a reasonable value (for example, the categorization of a tax).
null before operating on it — for example, before calling a string method or accessing a nested property — rather than assuming every record has a value.
Check a field’s value for
null before operating on it. Don’t assume every record has a value just because other records do.202 Response Codes
Requests to the Finch API can return a202 Accepted response. This means the connection exists but the data isn’t available yet — common for async operations. Once the data is available, Finch stops returning 202 for that request.
Requests that can return a 202 response include:
- Assisted Connect, including Assisted Deductions
- Pay statements that exist but haven’t been fetched yet
- Authentication fallback
202 response by:
- Retrying the request after a delay. For assisted connections, the SLA for the first data sync is 14 days.
- Backing off — increase the delay between retries if the response keeps returning
202. - Not processing the response body as data until you receive a successful response.
202 response in the Finch Sandbox.