Troubleshoot data sources

Find out why payroll data is missing or reads as 0, what source errors mean, and how to test and fix a connection.

Numbers missing from a payroll? A variable stuck at 0? This article helps you find out whether a data source is to blame, what the common errors mean, and how to fix them. πŸ› οΈ

How Payroll handles a failing source

A source that fails never stops the whole payroll. Instead, its variables read as 0 (or empty for text), the payroll records what went wrong, and people are told:

  • The payroll's Sources tab shows a status for each source.

  • A banner such as No data returned from … appears on the payroll.

  • The payroll's creator and followers get an in-app notification. Whoever started the pull doesn't, since they're already looking at it.

A red #ERR! cell is not a source problem. It means a formula failed, for example when amounts in two currencies were combined without an exchange rate. Missing source data shows as 0, never as #ERR!. Check the formula (or the exchange rates) first.

Check a payroll's Sources tab

  1. Open the payroll and go to its Sources tab.

    [IMAGE: people-ops/payroll/images/payroll-data-sources-troubleshooting-01.png | The Sources tab of a payroll with the status dot and covered-of-roster count for each source, the fetched, mapped and skipped counts, the last sync time, and the Refresh Data and Fix connection buttons marked]

  2. For each source, look at the status, how many employees were covered out of the roster, the rows fetched, mapped and skipped, and when it last synced.

  3. Expand the sync history if you need to see earlier pulls.

  4. Once the cause is fixed, click Refresh Data to pull again. When a built-in connection has nothing on the other end, Fix connection appears as well.

StatusWhat it means
successEveryone on the roster got data.
partialSome rows were skipped, usually because they didn't match an employee.
emptyNobody got data. Often a dead link, or the roster doesn't match.
failed / errorThe request itself failed. Look at the error message.

Common problems and fixes

What you seeLikely causeWhat to do
No data returned from …, status emptyThe app behind the source isn't answering, or the rows don't match your employeesFor a built-in source with nothing on the other end, click Fix connection. Otherwise wait for the other system to recover, then Refresh Data.
Error unauthorized or forbidden_scopeThe token is wrong or expired, or lacks permissionEdit the source, enter the secret again and run Discover schema.
Error oauth_token_failedThe token URL, client ID or client secret is wrongCheck the OAuth2 settings, then try a dry-run.
Error https_required or ssrf_blockedExternal mode with an http:// address, or an address that points to a private networkUse a public https:// address. For a Rework app on your own network, use Internal (Base app) mode.
Error payload_too_large or too_many_rowsThe response is over the limit (5 MB or 10,000 rows by default)Ask the endpoint for less, such as only the period or the fields you need.
Error local_daily_quota or local_min_intervalAn external HTTP source was pulled too oftenWait for the limit to reset, then pull again.
Status partial, rows skippedThe key field doesn't match any employee, or Match by is set wrongCheck the Key field and Match by. If you match by email, make sure employees have that email in Rework.
A variable reads 0 although the source is connectedThe field isn't mapped to a variable, or a higher-priority source overrides itCheck the variable mapping and the source priorities on the policy.
All HR and attendance data disappeared after adding a sourceAdding a custom source switched off the automatic built-in sourcesAdd the built-in sources you need to the policy's Sources & data tab too.
Google Sheet shows old valuesThe sheet couldn't be read, so the last cached copy was usedMake sure the sheet is still shared with Rework's service account.
A mapped field is no longer availableThe source removed or renamed a fieldRun Check drift, then fix the mappings it flags.

Check a source before you run payroll

On the Sources page (/sources in the Payroll app), you can test an external source without touching any payroll:

  • Discover schema reads the source's fields, which confirms the URL and login work.

  • Dry-run pulls real data for a period and a few employee IDs, and shows you the result.

  • Check drift (HTTP and Google Sheets sources) compares today's fields with the last ones discovered. It lists fields that were added, removed or changed type, and the policies whose mappings are affected.

[IMAGE: people-ops/payroll/images/payroll-data-sources-troubleshooting-02.png | The Check drift result for an HTTP source on the Sources page, with the added, removed and retyped field chips and the affected policies marked]

Quick checklist

  1. Is the red cell #ERR!? Then it's a formula problem, not a source problem.

  2. Open the payroll's Sources tab and read the status and error message.

  3. Status empty on a built-in source? Try Fix connection, then Refresh Data.

  4. Login errors? Re-enter the secret and run Discover schema.

  5. Rows skipped? Check the key field and Match by.

  6. Variable at 0? Check the mapping and the priorities.

  7. Source structure changed? Run Check drift.

Still stuck? Share the source name, the payroll and the error message with your Rework admin or support.

Related articles