Troubleshooting Sync
When syncs or exports don't go as expected, this guide covers the most common issues and how to resolve them.
Connection Issues
"Connection expired" or prompted to reconnect
Your QBO access token has expired and QuickBooks refused to refresh it. This can happen if you revoked Partsemble's access from your Intuit account, or if the refresh token expired due to extended inactivity.
Fix: Go to Settings → Integrations and click Reconnect. You'll go through the OAuth flow again. If you sign in to the same company as before, your existing data and configuration are preserved — only the tokens are updated.
If you sign in to a different company, Partsemble disconnects the old connection and connects the new company afresh. The old company's export accounts don't carry over, and its sales channel becomes inactive, so export accounts and the sales channel may need setting up again for the new company. If this business was connected to that company before, its earlier connection comes back with its own settings. If you have several companies, check which one you're signed in to before you authorize.
If QuickBooks is having an outage, wait and reload the page before you reconnect. A network problem or a service interruption during a refresh doesn't need a reconnect. While it lasts, the connection card under Settings → Integrations can read Reconnection required, the dashboard's Connection figure can read Reconnect, and actions such as Sync Items can report that there's no active accounting connection. All of these clear by themselves once QuickBooks is reachable again.
"Could not reach QuickBooks Online to refresh the connection. Try again."
QuickBooks rejected the access token in the middle of an action, and a network problem or an outage stopped Partsemble from refreshing it. The connection hasn't expired. Try the action again later; you don't need to reconnect. With Xero, the message names Xero. Some screens put their own prefix in front, for example "Sync failed:".
Connection shows wrong company
If you have multiple QBO companies and connected the wrong one, disconnect the current connection and reconnect while signed into the correct QBO company. Make sure you're logged into the right Intuit account before authorizing.
Item Sync Issues
Sync shows 0 items created
Check your item type filters in Settings → Integrations. If you're filtering to only "Inventory" items but your QBO products are set up as "Non-Inventory" or "Service" types, they'll be skipped. Adjust the sync item type filters to include the types you use.
After the first sync, "0 new, 0 updated, 0 deactivated" from QuickBooks Online is normal when nothing changed: each later sync fetches only the items that changed since the one before.
Items synced but not showing as products
After a sync, your items appear as external items on Inventory → External Items, not directly as Partsemble products. You need to import them — tick the items and click Import (n) to create Partsemble products linked to the external items. See Syncing Items.
"Sync lock" error
The message starts "Cannot acquire" and names the lock, and a build adds "Build unavailable:" in front. Another operation holds the sync lock: a build that is running, a sales sync, or item changes from QuickBooks being applied to product costs and stock (by an item sync, or as QuickBooks sends them). The lock prevents concurrent operations that could cause data conflicts. Wait for the current operation to finish and try again. If you believe the lock is stuck (e.g., after a server error), it automatically expires after 5 minutes.
An item sync takes the lock only in Inventory adjustments mode with Receiving off, and only for its last step, so that's the only case where clicking Sync fails because a build or a sales sync is running. In Journal entries mode, or with Receiving on, a sync takes no lock and runs alongside builds. See Syncing Items.
Export Issues
"Product not linked to external items"
One or more products in the build or receipt don't have a linked external item with a valid external ID. The message names them: for a receipt, Product(s) not linked to external items: …; for a build, Component(s) not linked to external items: … or Output product "…" is not linked to an external item. This happens when products were created manually in Partsemble without importing from your accounting system.
Fix: Go to the product's detail page and link it to an external item, or re-import the matching item from your accounting system.
"Account not configured"
The required export account hasn't been set up. Which account you need depends on your export mode and the type of export. Choose them in the Export Account Configuration card on Settings → Integrations → Accounting.
When Export mode is Inventory adjustments: Configure the COGS / Adjustment Account (for builds), the Receiving Account (for receipts), or the Waste / Scrap Account (for QA waste exports).
When Export mode is Journal entries: Configure the build debit and credit accounts and/or the receiving debit and credit accounts under Journal Entry Accounts, and the Waste / Scrap Account for QA waste exports.
"Inventory adjustment account must be different than the inventory asset account"
This QBO-specific error means the receiving or COGS account you selected is the same account that QBO uses as the inventory asset account for one of the items. QBO requires the offset account to be different from the asset account.
Fix: Choose a different account for the receiving or COGS configuration. See Choosing a Receiving Account for guidance.
Export shows "Export Failed" status
The export was attempted but QBO rejected it. The build or receipt detail page shows the specific reason: open its history (the events link beside the status) and read the line under Export Failed. Common causes include invalid account references (account deleted in QBO), items deactivated in QBO since last sync, or QBO rate limiting.
Fix: Address the underlying issue (re-sync items, update account configuration), then retry the export.
Sales Sync Issues
Sales sync shows errors for specific invoices
If an invoice references a product that isn't linked to a Partsemble finished good, that sale line is skipped. The sync continues with remaining sales and reports the error. Link the missing product and sync again to pick up the failed sale.
Sales synced but margins show $0 cost
The finished good doesn't have any lot-tracked inventory. Without lots, there's no FIFO cost to calculate. If there's a stock shortage, costs fall back to the product's weighted average cost — but if that's also zero (no cost data), the cost shows as $0.
Fix: Ensure production builds are recorded (which create finished good lots) before syncing sales, or verify that product costs are populated.
General Tips
Check the sync log. Every API call to your accounting system is logged. If you're experiencing unexpected behavior, the sync log in the admin panel can show exactly what was sent and what was returned.
Re-sync items before retrying exports. If item data is stale (items renamed, accounts changed in QBO), run an item sync first to update Partsemble's local copy, then retry the export.
One thing at a time. The sync lock lets only one of these run at a time: a build, a sales sync, and applying item changes from QuickBooks to product costs and stock (by an item sync or by changes QuickBooks sends). If you see lock errors, wait for the current operation to complete rather than trying to force through.