---
page_type: error
code: 21451
message: "21451: Invalid area code"
level: ERROR
---

## Error - 21451

### Invalid area code

You attempted to get a phone number for your account, but the AreaCode parameter you specified was not a valid North American area code. AreaCode is optional, and for Local phone numbers, may be any US or Canadian area code, or for TollFree numbers, may be one of 800,888,877 or 866.