# E12066 — SMSKeywordRuleCountryRequired

This operation needs a country.

- **HTTP status**: `422`
- **Type**: `validation_error`
- **Name**: `SMSKeywordRuleCountryRequired`

## What to do

Set `country`, or supply an E.164 `number` to take the country from. Opt-out, opt-in and help replace what Bird ships for one country, so a rule without one would replace every country's reply. Only the `custom` operation can apply worldwide.

## Related

- [E12xxx — SMS sending & delivery](/docs/api/errors/E12xxx): every code in this range
- [Errors](/docs/api/errors): the full wire contract, status mapping, and error catalog
- [Error handling](/docs/guides/errors): branching on `type` and `code`, validation details, and `vendor_code`