# Error Codes

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). |
