Error code
VALIDATION_FAILED
Validation failed
Validation failed
Generic class-validator failure. The DTO rejected one or more incoming fields. Specific errors live in context.errors[].
Common causes
- Frontend sent a missing or wrong-typed field.
- API client out of date with the latest DTO.
- Empty string where a non-empty was required.
What to do
Read context.errors[] for the field-level reason. Fix the caller.
ולידציה נכשלה
כשל class-validator כללי. ה־DTO דחה שדה אחד או יותר. הפרטים ב־context.errors[].
סיבות נפוצות
- ה־frontend שלח שדה חסר או טיפוס שגוי.
- API client מיושן.
- מחרוזת ריקה במקום ערך חובה.
פעולה מומלצת
קראו context.errors[] לסיבה הספציפית. תקנו את הקורא.