# 60703: Invalid phone numbers format

Log Type: APPLICATION

Log Level: ERROR

## Description

This error occurs when the origination or destination phone number in your request is not in `E.164` format. Use `E.164` formatting for `To` and `From` phone numbers in API requests. The Messaging API requires the recipient phone number in `To` to be in `E.164` format.

### Possible causes

* The origination or destination number is missing the leading `+` sign.
* The phone number includes separators such as spaces or dashes instead of a continuous `E.164` value.
* The number was submitted in a local or national format without the full country code required by `E.164`. ([help.twilio.com](https://help.twilio.com/articles/223183008-Formatting-International-Phone-Numbers))
* The `To` value in your Messaging API request is not a recipient phone number in `E.164` format.
* The `From` value is being sent as a phone number, but it is not formatted as a valid Twilio sender in `E.164`.

### Possible solutions

* Update the `From` and `To` values so each phone number is in `E.164` format, for example `+14155552671`. ([help.twilio.com](https://help.twilio.com/articles/223183008-Formatting-International-Phone-Numbers))
* Remove spaces, dashes, and other formatting characters from the phone number before sending the request.
* Include the country code for each number. If you are converting a local number to `E.164`, remove any domestic dialing prefix such as a leading `0` when required for that country. ([help.twilio.com](https://help.twilio.com/articles/223183008-Formatting-International-Phone-Numbers))
* If you are sending a message with the Messaging API, make sure `To` contains the recipient phone number in `E.164` format and `From` is a valid Twilio sender for your account.

#### Additional resources

* [Messages resource](/docs/messaging/api/message-resource)
* [Messaging API overview](/docs/messaging/api)
* [Formatting International Phone Numbers](https://help.twilio.com/articles/223183008-Formatting-International-Phone-Numbers)
