Skip to content
Pages · Run it

Monitoring and troubleshooting

The QB Bridge Health tab#

QB Operators see Connection, Work queue and Failed records. Background jobs and Flows calling QB Bridge are for QB Administrators only.

The QB Bridge Health tab: 1 Connection; 2 Work queue; 3 a failed record with its Reason; 4 Retry selected and Retry all; 5 Background jobs (administrators). The Realm ID is hidden in this picture.

SectionWhat it shows
ConnectionThe connected company and Realm ID, or what is wrong: Not set up, Held: this org is a copy, Background jobs paused, or "QuickBooks refused the connection. Records wait in the queue and go once it is back…". If the schedule is not running: "The background schedule is not running, so nothing is sent or read automatically. An administrator can start it in QB Bridge Settings."
Work queueTiles: Waiting, Failed (open), Done (24 h), Nothing to send (24 h), Errors logged (24 h).
Failed recordsThe newest failures: Failed at, Operation (for example Update, or Update Salesforce for an update from QuickBooks to your record), Entity, Record, Tries, Reason. With nothing failed: "Nothing has failed."
Background jobs (administrators)Each job with Last run, Next run and Runs as.
Flows calling QB Bridge (administrators)Per object, the Last call from a Flow, whoever saved the record. If none: "No Flow has called QB Bridge yet. Records only sync on save once an active Record-Triggered Flow calls a QB Bridge action."

Retry failed records#

  1. On the Health tab, under Failed records, read the Reason and fix the cause first: a missing product in QuickBooks, an empty required field, a customer not yet synced.
  2. Select the rows and click Retry selected, or click Retry all. You see "… record(s) queued again."
  3. Click Refresh. The retried rows leave the list; their sync history says "Replaced by a later try", followed by the new attempt.

Records that failed for a reason that can pass, such as QuickBooks being unavailable, are retried automatically first (Settings tab, Sync & Retry Rules). They only show up as failed once every try is used. Retrying needs QB Operator or higher, and works on any failed item, whoever's save created it.

Video: a failed invoice on the Health tab. Fix the cause (here, send the customer first), then Retry selected.

One record: the sync history panel#

Add the panel to the record pages of every mapped object, so people can see what happened without the Health tab:

  1. Open a record of the object, click the gear icon and Edit Page.
  2. Drag the QB Bridge Sync History component onto the page and save. Activate the page if Lightning App Builder asks.

The QuickBooks sync history panel lists the record's sends, newest first, with when, how (Flow, Manual…), the QuickBooks Id and, for a failure, the reason. An update from QuickBooks onto the record shows as an Update Salesforce row from Inbound. Its statuses are Waiting, Sent, Nothing to send, Failed and Replaced by a later try. Before the first send it says "QB Bridge has not sent this record yet." The panel needs QB Operator or higher; a QB Viewer sees "You do not have access to the QuickBooks sync history. Ask an administrator for the QB Operator permission set group."

To show what QuickBooks holds for the record (status, amounts, lines), add the QuickBooks data component too; see Inbound: changes from QuickBooks.

On an Opportunity: the QuickBooks data component, and below it the QuickBooks sync history: an Outbound row from a Flow and an Update Salesforce row from Inbound, both Sent.

The QBO Logs tab#

Administrators only. With Enable detailed callout logging on (the default), QB Bridge writes a log row for every error, every warning (conflicts and paid transactions left unchanged included), and each inbound run. A successful or skipped send writes no log row: its record is the work item and the sync history. Logs older than 30 days are deleted every day.

FieldValues
StatusSuccess, Error, Info, Discrepancy, Pending, Warning
ActionCreate, Update, Delete, Sync
Source SystemSalesforce, QuickBooks
Object Name, Record Id, Endpoint, DetailsWhich entity and record, the QuickBooks call, and the full message

Symptoms and fixes#

You seeLikely causeDo this
Nothing happens when a record is savedNo active Flow, the rule is off, or the Logic Formula filters it outCheck the entity's Outbound card and Outbound: automatic sync. The Health tab's Flows calling QB Bridge shows whether a Flow ever called.
Waiting keeps growingThe connection is down, the jobs are paused, or the org is a copyRead the Connection section of the Health tab and fix what it says.
Reason: MISSING_REF_DATA::ItemRef::…A product, account or term is not in the reference dataCreate it in QuickBooks, fetch reference data, then retry. See Mapping: references and line items.
Reason: "The QuickBooks Id field (…) holds …, but this record is not linked to that QuickBooks …"The record's QuickBooks Id field holds an ID, but no QB record links that QuickBooks record to this record: a copied record, or an ID typed in by handFor a copy: clear the field and sync again, which creates its own QuickBooks record. To link it to that QuickBooks record instead: a QB Administrator sets SF Master Record Id on its QB record (the message names the Id) and syncs again. See Go live, sandboxes and upgrades.
Reason: "This record is linked to QuickBooks …, but its QuickBooks Id field (…) holds …"The QuickBooks Id field was changed and no longer matches the linked QuickBooks recordPut the linked ID back, or clear the field, and sync again. The message also says how to move the link instead.
Reason: "… has no QuickBooks ID yet…"The customer or vendor was not synced firstSync the customer or vendor, then retry.
Reason: "QuickBooks requires "…", but its mapped value … is empty…"A required field is empty on the recordFill it in, or give the mapping a fallback formula, then retry.
Reason: "Duplicate Name Exists Error"Another QuickBooks record already has this nameRename one of them. Names must be unique across customers, vendors and employees in QuickBooks.
QB records stop changingInbound switches are off, or the inbound poll is not runningCheck the entity's Inbound card and the Inbound poll row under Background jobs.
The QB record changed but your own record did notNo Salesforce field is chosen for that value, or the record was never sent to QuickBooks (so it is not linked)Check Also update Salesforce field in the inbound settings, and send the record once with Sync to QuickBooks. The record's sync history shows the Update Salesforce row and its reason. See Inbound: changes from QuickBooks.
Reason: "… is N characters (…), but QuickBooks accepts at most M…"A text value is longer than QuickBooks allows for that fieldShorten it in Salesforce or change the mapping, then save the record again. It is not retried by itself.
Health says Held: this org is a copyThe org is a sandbox copy of the one that connected QuickBooksConnect this org to the right QuickBooks company, then Save on the Settings tab.

More messages, with their meaning, are in Messages and error codes; worked examples in When things go wrong.

Where to next#