pack_lines_must_be_expanded
The lines of a pack cannot be built by hand. The server splits the price among the components of the pack and sets the group data itself.
| Code | Type | HTTP | Category |
|---|---|---|---|
pack_lines_must_be_expanded | invalid_request_error | 422 | Products |
Cause
The lines of a pack cannot be built by hand. The server splits the price among the components of the pack and sets the group data itself.
What to do
Do not send pack lines with their own group data. Add the pack to the document by its pack_id and let the server create the lines.
Related
All Products 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.