Validation error
Code
VALIDATION_ERROR
What it means
The server rejected a request/event because input validation failed.
When it happens
- Server-side validation fails (service-specific validation pipe, DTO validation, etc.).
How to handle
- Treat as a client-side fix: correct request shape and retry.
- Prefer returning structured details via
metaonly when it’s safe and bounded (avoid leaking internal rules).
Notes
This code is intentionally flat (no VALIDATION/... prefix) for now, but it is grouped under
VALIDATION in AppErrorCodes for discoverability.
Last updated on