qbXML status code 3340

Error

What QuickBooks says

This request cannot be processed from within a data event callback procedure.

It arrives on the response element as statusCode="3340" statusSeverity="Error", with this text in statusMessage.

We haven't seen this code from a real company file yet, so the wording above is all we can vouch for.

With QuBe Sync's API

QuBe Sync reads QuickBooks' response for you. When CustomerAdd gets this code, your webhook receives this JSON:

Webhook state and error
{
  "error": {
    "debug_message": null,
    "error_code": 3340,
    "error_type": "quickbooks_business_error",
    "hresult": null,
    "message": "This request cannot be processed from within a data event callback procedure.",
    "user_message": "QuickBooks reported an error while processing this request: This request cannot be processed from within a data event callback procedure."
  },
  "state": "error"
}

Wording read from QuickBooks Enterprise Solutions 24.0 (R21_80).