# range-too-early

The time range **starts before 1970**.

- **Status:** `422 Unprocessable Entity`
- **Route:** `POST /api/v1/generate-events`
- **Description:** `range starts too early: expected from on or after 1970-01-01T00:00:00Z`
- **Details:** **`from`**, the bound as the request gave it.

## Why It Happens

`from` lies before `1970-01-01T00:00:00Z`. A restore into EventSourcingDB refuses events before that instant, so SynthEvents does not generate any, in either format.

## How to Fix It

Let the range start on or after `1970-01-01T00:00:00Z`.

## Example

For a range that starts an hour before 1970, SynthEvents answers:

```json
{
  "type": "error",
  "data": {
    "code": "https://docs.synthevents.io/errors/range-too-early",
    "description": "range starts too early: expected from on or after 1970-01-01T00:00:00Z",
    "details": {
      "from": "1969-12-31T23:00:00Z"
    }
  }
}
```
