# Validation failed (/errors/validation-failed)

**Status:** `422` · **Type:** `https://docs.ajour.dk/errors/validation-failed`

The value of `to` is before the value of `from`. `to` is the last day of the period and is included, so `from` and `to` can be the same day. The `errors` field names the parameter.

## What to do [#what-to-do]

Send a `from` date that is on or before the `to` date.

See all [error types](/errors/).