The response message
contains the name of the invalid parameter.
HTTP status: 400
Example where To
is the invalid parameter:
1{2"code": 60200,3"message": "Invalid parameter: To",4"more_info": "https://www.twilio.com/docs/errors/60200",5"status": 4006}
When starting a verification:
To
parameter is incorrectly formatted or missing the leading +
.Channel
parameter is not one of the accepted options, or you might not have access to the requested channel.When checking a verification:
Code
parameter is not between 4-10 numbers long.When creating a service:
FriendlyName
is too long (max 30 characters).When fetching a service:
ServiceSid
nor UniqueName
is present.+
sign, for phone numbers in the To
parameter. Example: +15017122661
.sna
channel, ensure you have requested and been granted access. See SNA Overview for details.