# VALIDATION

11 codes.

| Code | What happened | Why | What to do | Retryable |
| --- | --- | --- | --- | --- |
| `VALIDATION/INVALID` | Something in the request is not valid. | One or more values did not pass the checks this operation applies. | Check the values and try again. | no |
| `VALIDATION/UNKNOWN_FIELD` | The request named a field this system does not recognize. | The request carried a field this version of the system has no place for. | Remove it and try again. | no |
| `VALIDATION/VERSION_MISMATCH` | The app version does not match the server. | The page was built for a different version of the server than the one answering. | Refresh the page and try again. | no |
| `VALIDATION/VERSION_DISCONTINUED` | This app version is no longer supported. | The server stopped serving the version this page was built with. | Refresh the page to get the current one. | no |
| `VALIDATION/VERSION_REQUIRED` | The request did not say which app version it came from. | Every request must name the app version it comes from, and this one did not. | Refresh the page and try again. | no |
| `VALIDATION/EMPTY_SCOPE` | The selection matched nothing to count. | The selection resolved to no records, so there was nothing to act on. | Widen the selection or add stock first, then start again. | no |
| `VALIDATION/UNSUPPORTED` | That option is recognized but not available yet. | The option exists in the vocabulary but its behaviour is not built yet. | Choose one of the available options. | no |
| `VALIDATION/UNSUPPORTED_CURRENCY` | That currency is not supported for selling yet. | Selling is enabled only for the currencies the platform has rates and rounding rules for. | Use a supported currency. | no |
| `VALIDATION/DRY_RUN_UNSUPPORTED` | This operation cannot be tried dry. | Only the generic create and update operations and the item create can be rehearsed without writing. | Only the generic create and update operations and createItem can be rehearsed; run it for real. | no |
| `VALIDATION/IDENTITY` | The subject identity could not be verified. | The proof supplied did not establish that the request comes from the data subject. | Collect stronger proof and try again. | no |
| `VALIDATION/COUPON_INELIGIBLE` | This coupon does not apply to this order. | The coupon has conditions — a scope, a customer, or a minimum — that this order does not meet. | Check its conditions, adjust the cart, or remove the coupon. | no |
