# "Street Address" cannot contain more than 2 lines

**When completing the checkout, you might bump into an error `"Street Address" cannot contain more than 2 lines`. This document helps you analyse this error.**

In the Store Configuration, you can store the **Number of Lines in a Street Address** (`customer/address/street_lines`) via **Customers > Customer Configuration > Name and Address Options**. By default, this equals `2`. In many circumstances, like with European addresses, we recommend changing this to `3`.

A similar configuration is found in the MySQL database tables `eav_attribute` and `customer_eav_attribute`. The EAV attribute `street` (referenced in the table `customer_eav_attribute` by its numeric ID, which typically is 28) defines in the table `eav_attribute` a field `frontend_input` with value `multiline`, while its entry in the `customer_eav_attribute` configures the `multiline_count` to be `2` by default.

When changing the configuration option `customer/address/street_lines`, the chosen value (for instance, 3) should also be updated in the `multiline_count` column. If this does not happen, the error is given:

```
"Street Address" cannot contain more than 2 lines
```

To fix this, you can run the following query in the database:

```sql
UPDATE customer_eav_attribute SET multiline_count = 3 WHERE attribute_id = 28;
```

Or, simply head into the Store Configuration, change the value to something else (`2`), save the configuration and then change it again in the value you need (`3`).
