⌘K
Core contract
Error Codes
API request
Error contract
Safe recovery
Common API error responses.
| Status | Code | Meaning |
|---|---|---|
| 401 | permission_denied | Invalid or missing Authorization header. |
| 400 | invalid_parameters | Request body does not match schema. |
| 404 | not_found | Resource (Menu, Customer, Product) not found. |
| 400 | invalid_order_payload | Specific logic error during order validation (e.g., product out of stock). |