QuickBooks status 3140: invalid reference
A name or item in this request was not found in QuickBooks.
- Code
- invalid_reference
- HTTP status
- 422
- Type
- quickbooks
- Safe to retry
- No, change the request first
What it means
A customer, vendor, item or account named in a ref field is not in the company file.
API message: A referenced list item does not exist in this company file (3140).
How to fix it
Create the referenced record first, or use the ListID or FullName of an existing one.
Every error response carries a guideUrl that points at this page and a requestId you can find in the request log.