qbXML status code 2010

Error

What QuickBooks says

Not authorized to access the server.

It arrives on the response element as statusCode="2010" 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": 2010,
    "error_type": "quickbooks_business_error",
    "hresult": null,
    "message": "Not authorized to access the server.",
    "user_message": "QuickBooks reported an error while processing this request: Not authorized to access the server."
  },
  "state": "error"
}

Wording read from QuickBooks Enterprise Solutions 24.0 (R21_80).