invalid_pack_status_transition
The requested status change is not allowed from the current pack status, for example activating a pack without sales channels or restoring one whose composition is blocked.
| Code | Type | HTTP | Category |
|---|---|---|---|
invalid_pack_status_transition | invalid_request_error | 422 | Products |
Cause
The requested status change is not allowed from the current pack status, for example activating a pack without sales channels or restoring one whose composition is blocked.
What to do
Read error.details.reason: enable a sales channel, fix the composition, or restore the archived pack instead of activating it.
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.