qbXML status code 3176
ErrorSomeone has the record open in QuickBooks, or QuickBooks is in a single-user mode (such as the Adjust Quantity/Value on Hand window) that blocks changes.
What QuickBooks says
A related %2 object %1 is already in use, or failed to acquire the lock for this object. %4
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="3176" statusSeverity="Error", with this text in statusMessage.
What to do
Ask the customer to close that window in QuickBooks, then send the request again.
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:
{
"error": {
"debug_message": null,
"error_code": 3176,
"error_type": "quickbooks_business_error",
"hresult": null,
"message": "A related %2 object %1 is already in use, or failed to acquire the lock for this object. %4",
"user_message": "Someone has this record open in QuickBooks, or a QuickBooks window that blocks changes is open (such as Adjust Quantity/Value on Hand). Close it in QuickBooks, then try again."
},
"state": "error"
}
Wording read from QuickBooks Enterprise Solutions 24.0 (R21_80).