qbXML status code 3220

Error

QuickBooks refused the request: no permission for it, or the feature is turned off in this company file.

What QuickBooks says

There is no permission to perform this request, or the feature has been turned off in QuickBooks. %1

QuickBooks fills in the marked parts when it answers: usually the value, the field, the kind of record and a longer explanation of its own.

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

With QuBe Sync's API

QuBe Sync reads QuickBooks' response for you. When CustomerAdd gets this code, your webhook receives this JSON, with the marked parts filled in:

Webhook state and error
{
  "error": {
    "debug_message": null,
    "error_code": 3220,
    "error_type": "quickbooks_business_error",
    "hresult": null,
    "message": "There is no permission to perform this request, or the feature has been turned off in QuickBooks. %1",
    "user_message": "QuickBooks doesn't allow this request, either because of permissions or because the feature is turned off in this company file. QuickBooks said: There is no permission to perform this request, or the feature has been turned off in QuickBooks. %1"
  },
  "state": "error"
}

Wording read from QuickBooks Enterprise Solutions 24.0 (R21_80).