stock_transfer_prepared_exceeds_quantity
One of the prepared quantities is above the quantity of its line, so none was saved: the preparation is all or nothing.
| Code | Type | HTTP | Category |
|---|---|---|---|
stock_transfer_prepared_exceeds_quantity | invalid_request_error | 422 | Warehouses |
Cause
One of the prepared quantities is above the quantity of its line, so none was saved: the preparation is all or nothing.
What to do
Check the quantities in lines so that none exceeds its line, or update the quantity of the line first, and repeat the request.
Related
All Warehouses error codes
Causes and actions for errors in this category.
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.