# Invalid city

**When trying to enter certain values in the address field `city`, you might bump into the validation error `Invalid City`.**

Some city names can not be saved due to the fact that their name is seen as invalid:

- `'s Hertogenbosch`
- `St. Petersburg`
- `Trinidad & Tobago`
- `Paris (75001)`

LokiCheckout makes use of the validator classes of the core, among which the `Magento\Customer\Model\Validator\City` class. This class does not allow for numbers to occur in the city name, which could be considered either a bug or a feature.

To overcome this issue, the `Magento\Customer\Model\Validator\City` class needs to be fixed. You can do this yourself, or use the `LokiCheckout_LoosenCityValidator` module for this instead.

See also [github.com/magento/magento2/pull/39859](https://github.com/magento/magento2/pull/39859)
