qbXML status code 3210
ErrorA field's value is not one QuickBooks accepts; the message names the field and the value.
What QuickBooks says
The "%2" field has an invalid value "%1". %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="3210" statusSeverity="Error", with this text in statusMessage.
Seen from a real company file
-
Answering ReceivePaymentAdd:
The "AppliedToTxnAdd payment amount" field has an invalid value "5000.00". QuickBooks error message: You cannot pay more than the amount due.
Things to know
- A ReceivePaymentAdd whose PaymentAmount is more than the invoice's balance is refused with 3210, "You cannot pay more than the amount due.", and nothing is saved
With QuBe Sync's API
QuBe Sync reads QuickBooks' response for you. When ReceivePaymentAdd gets this code, your webhook receives this JSON:
{
"error": {
"debug_message": null,
"error_code": 3210,
"error_type": "quickbooks_business_error",
"hresult": null,
"message": "The \"AppliedToTxnAdd payment amount\" field has an invalid value \"5000.00\". QuickBooks error message: You cannot pay more than the amount due.",
"user_message": "QuickBooks didn't accept one of the values in this request. QuickBooks said: The \"AppliedToTxnAdd payment amount\" field has an invalid value \"5000.00\". QuickBooks error message: You cannot pay more than the amount due."
},
"state": "error"
}
Wording read from QuickBooks Enterprise Solutions 24.0 (R21_80).