Reference not found
HTTP 422reference_not_found
When the API answers 422 reference_not_found, and how to fix it.
Version v1.1, updated
The type field of every reference_not_found response links to this page.
On this page
A reference in the body names no record of the company. errors[].field tells you which one, such as customer or lines[0].product.
At a glance
Status: 422 Unprocessable Content
Code:
reference_not_foundRetry: No. Fix the cause first: the same request gets the same answer.
Causes and fixes
422 reference_not_foundJSON
{
"code": "reference_not_found",
"detail": "A reference in the request matches no record of the company.",
"errors": [
{
"field": "customer",
"message": "matches no record of the company"
}
],
"instance": "/v1/invoices",
"request_id": "a1b2c3d4-0000-4000-8000-0000000000ee",
"status": 422,
"title": "Reference not found",
"type": "https://birp.io/developers/errors/reference_not_found"
}Related
- references-and-external-ids
- receive-orders
- not-found