qbXML status code 500
WarnA record was looked up by an exact key (a FullName or ListID) and does not exist.
What QuickBooks says
The query request has not been fully completed. There was a required element ("%1") that could not be found in QuickBooks.
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="500" statusSeverity="Warn", with this text in statusMessage.
What to do
Not a failure: you asked whether it exists and the answer is no. Create it, or query more broadly.
With QuBe Sync's API
QuBe Sync reads QuickBooks' response for you. When CustomerQuery gets this code, your webhook receives this JSON, with the marked parts filled in:
{
"response_json": {
"data": [],
"message": "The query request has not been fully completed. There was a required element (\"%1\") that could not be found in QuickBooks.",
"status": "success",
"warning": {
"code": 500,
"message": "The query request has not been fully completed. There was a required element (\"%1\") that could not be found in QuickBooks."
}
},
"state": "response_received"
}
Wording read from QuickBooks Enterprise Solutions 24.0 (R21_80).