Skip to content

Check and fix a Google Sheets sync

Sync at any time, read the sync log, and fix a sync that failed.

2 min readENFRNLDE
On this page 3 sections

Keep it up to date

On a schedule, the collection syncs every hour or every day. The schedule is checked every five minutes, so a sync can start a few minutes after it falls due. To sync at any time, choose Source in the collection's toolbar, then Sync now. The Source dialog also shows when it last synced, the fields the sheet fills, and the Sync log: for each sync, how many items were added, updated, removed, unchanged and refused.

A collection your sheet fills

The fields your sheet fills belong to it. In the editor they can't be edited, and no items can be added by hand: change the sheet, then sync. You can still bind the fields to text and images on your pages and show the items in a collection list. Items the collection had before you connected it stay yours: a sync never changes or removes them.

To make the collection yours again, choose Disconnect… in the Source dialog, then Disconnect. The copying stops, the items stay, and every field can be edited again.

When a sync fails

A sync that fails shows Failed in the sync log, with its reason in English: a code word, then a sentence. The most common:

  • auth: Google refused the service account’s key.: check that you pasted the service account's whole JSON key.
  • refused: The spreadsheet isn’t shared with the service account, or has no tab of that name.: share it with the service account's address, and check the tab's name.
  • refused: The sheet has no column named as the key column.: the key column was renamed or removed in the sheet.
  • refused: The sheet has more rows than a collection takes.: the sheet has more than 5,000 rows.
  • unavailable: Google Sheets answered 429.: Google asked to slow down. When it asks for a wait of 30 seconds or less, the sync waits it out once for each page and asks again. Otherwise the sync fails, and the next scheduled run, or Sync now, tries again.
  • unavailable: Google Sheets didn’t answer.: try again in a moment.
  • limit: the new rows would take the site past its plan's item limit, so none were added.

A failed sync changes nothing: the collection keeps the items of the last sync that worked, and your site keeps showing them. The workspace's owners and admins get one email about it, when a sync fails after one that worked, or as the very first one, not one for every scheduled sync while the sheet can't be read.

When a site moves to a plan without syncing, its collections stop syncing and keep their items.