The response message
contains the name of the invalid parameter.
HTTP status: 400
Example where To
is the invalid parameter:
_10{_10 "code": 60200,_10 "message": "Invalid parameter: To",_10 "more_info": "https://www.twilio.com/docs/errors/60200",_10 "status": 400_10}
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).
+
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.