Every way a request can end
Find the webhook you got. The last column says who fixes it, what to do, and where to read more.The error object
Every webhook butresponse_received carries an error saying what happened. Here QuickBooks refused a
new customer because the name is taken:
Where each key lives
When QuickBooks refuses a request, the webhook has two error objects with different keys: the top-levelerror, which QuBe Sync sets for every failure, and response_json.error, QuickBooks’ own answer.
Branch on
error.error_type first. For a business error, branch on the code (error.error_code or
response_json.error.code), and show your customer error.user_message.
QuickBooks said no
A business error means the connection worked and the request was well-formed, but QuickBooks refused it on its own terms.state is error, error.error_type is quickbooks_business_error, and
response_json.error carries QuickBooks’ code with a stable name. Branch on the code, not the message
text.
Intuit’s
status code reference
lists every error code. Each operation in the API reference and each
MCP tool names the codes that operation can raise.
When the record changed after you read it
QuickBooks uses theedit_sequence field to make sure updates aren’t working from stale data. An update request carries the edit_sequence you last read. If someone has changed the record in QuickBooks since,
QuickBooks refuses the update with 3200 and changes nothing, but it answers with the record as it stands.
response_json.error.current has that record, shaped like a successful update’s data and with its current
edit_sequence, so you can retry without querying first.
This is a real answer to PUT /invoices sent with an out-of-date edit_sequence:
response_json (abridged)
current with what you read before you send the update again. If someone else changed a field your
update also sets, decide which value wins instead of overwriting theirs. Then resend with
current.edit_sequence. If current is missing, query the record for its edit_sequence first. A
workflow does all of this for you. The simulator answers a stale
edit_sequence the same way, so you can try it in a sandbox: send the same update twice with one
edit_sequence.
QuickBooks said yes, with a warning
Sometimes QuickBooks does what you asked but has something to say about it, and answers with a Warn severity instead of Info. That’s still a success:state is response_received, response_json.status is
success, and data is what QuickBooks saved. response_json.warning has QuickBooks’ code and message.
This is a real answer to POST /journal-entries with an entry-level memo. QuickBooks saved the entry
without the memo:
response_json (abridged)
When QuickBooks is out of reach
Aretryable webhook means the Web Connector ran on your customer’s computer but couldn’t get the request
into QuickBooks: QuickBooks wasn’t running, no company file (or the wrong one) was open, or a dialog was
open. Nothing was applied, and only your customer can fix it.
1
The Web Connector can't reach QuickBooks
You receive a
retryable webhook. You get another only if the error
changes (a dialog open, then QuickBooks closed), not one for each try.2
Its runs back off, and the queue waits
While QuickBooks stays out of reach, QuBe Sync spaces out the Web Connector’s automatic runs: 5, 10, 20,
then 30 minutes apart. The Web Connector shows “Update postponed by application”.Requests on a connection go to QuickBooks in the order they were queued, so everything queued after this
one waits behind it. Once your request has waited past the grace, QuBe Sync sends
connection.stalled with stall_reason: quickbooks_unavailable.3
Your customer fixes it
They don’t have to wait: clicking Update Selected tries right away. If that first click also says
“Update postponed by application”, they click it again.There’s no limit on how long the request waits: it stays
retryable, with
no error webhook, until QuickBooks can be reached or your app
discards it.4
The answer arrives
The next webhook is the answer. It has the same
id and page_request_id as the retryable one, and
only state differs. If you drop duplicate deliveries, key on page_request_id plus state, or the
answer looks like a repeat and is lost.A later page of an iterated query isn’t retried. QuickBooks
keeps an iteration only for the session that started it, so that page ends as
error and the query
has to be queued again.The retryable webhook
quickbooks_connection_error, hresult 0x80040408, QBWC1039
The retryable webhook
quickbooks_connection_error, hresult 0x80040408, QBWC1039
Discarding a request
If you no longer want a request that hasn’t already been processed, discard it. It becomesdiscarded, is never sent, and a discarded webhook follows. Its
error.error_type is discarded, unless the request was retryable: then error is still the
connection error that held it up.
When the answer is lost
timed_out means QuickBooks received the request but its answer never came back: the customer’s computer
lost its connection, or QuickBooks/the Web Connector was closed, while the request was being processed.
QuickBooks may or may not have applied it. The webhook’s error.error_type is timed_out, and its
user_message tells your customer to check QuickBooks before trying again.
An
Idempotency-Key doesn’t help here. It covers your app never receiving a 201 while queuing a request or workflow. The timed_out request, on the other hand, was queued and sent to QuickBooks.
When the outcome is unknown
Now and then the Web Connector reports an error where QuickBooks’ answer should be. A connection problem there (a dialog open, QuickBooks closed, another company file) isretryable,
as above. Any other error ends the request
error, and QuickBooks had it, so for a create or update nobody can say whether it
was saved: error.error_type is outcome_unknown, and user_message tells your customer to check QuickBooks
first.
In a workflow, the step sees
no_response with reason connector_error.
When the answer is too large
One answer can be at most 4 MB as the Web Connector sends it, about 3 MB of qbXML. QuickBooks’ answer over that isn’t kept: the request endserror with error.error_type
response_too_large, and response_xml is null. QuickBooks did run the request, so this isn’t a lost
answer, and asking again the same way gets the same answer.
Until that limit is switched on, an answer over 4 MB is still kept. An answer over 64 MB never is:
QuBe Sync stops reading it, and the request ends timed_out, as a
lost answer does.
user_message says which applies. In a workflow, the step sees no_response with
reason too_large.
Other endings
Two rarer kinds oferror:
When the Web Connector stops checking in
Some problems stop the Web Connector before it ever reaches QuBe Sync, like an incorrect password or a log file it can’t write. Those never arrive as a webhook. The Web Connector just stops checking in, and requests stay inwaiting.
1
Check when it last connected
A connection with a
webhook_url is sent connection.stalled with stall_reason: not_checking_in
once one of your requests has waited too long, and connection.resumed when it’s back
(Connection events). Without one, compare the connection’s
last_connected_at with the current time.2
Read the Web Connector's status
Ask your customer to open the Web Connector and read the status next to your app. It shows these
problems as
QBWC codes (QBWC1039, QBWC1085…).3
Look up the fix
Intuit keeps the fixes in
Fix common Web Connector errors in QuickBooks Desktop.
For anything that page doesn’t cover, verbose logs show what the Web Connector was doing.
When matching is refused
Matching answers at once, so its refusals come back on the call itself, never as a webhook. Both carry acode to branch on:
409
A body matching can’t take is a
422 too, field by field, such as {"errors": {"kind": ["must be one of: ..."]}}.
When a connection is refused
A production app can’t have connections, of any type, until your organization has billing. Creating one, from the API (v1 or v2), the CLI or the dashboard, is refused on the call itself, with nothing saved:When a workflow run is refused
Workflows run on realtime connections, and on simulated ones. Starting a run on astandard connection is refused on the call itself, with nothing stored:
A run already going when its connection’s downgrade takes effect isn’t refused: it finishes, at the
standard pace.
Resending a run’s latest event (
POST .../workflow-runs/{run_id}/redeliver) has two refusals of its own:
409 nothing_to_redeliver while the run is still working or when it has no webhook_url, and 429
rate_limited, past one a minute per run or 60 a minute per app, with a Retry-After header
(When a delivery fails).

