{
  "code": 13,
  "class": "Voice Client & Server",
  "subclasses": [
    {
      "code": 2,
      "class": "DialVerb",
      "errors": [
        {
          "code": 14,
          "name": "InvalidCallerIdError",
          "description": "The provided caller identifier is invalid.",
          "explanation": "CallerId must be the calling number, called number, or a validated outgoing number. Additionally, if the calling leg is a client leg, the caller ID is required and must be a validated outgoing number. See the Dial Verb API Reference for more information.",
          "causes": [
            "Carriers may send invalid Caller IDs on Incoming calls to Twilio. If a specific Caller ID is not explicitly defined on the <Dial> verb, the invalid Caller ID will be passed to the destination. This may cause some destination providers to reject the call, and Twilio will mark it as failed."
          ],
          "solutions": [
            "To work around this, your application should recognize invalid caller IDs, and substitute them with a valid Caller ID to construct the subsequent <Dial>."
          ]
        },
        {
          "code": 24,
          "name": "InvalidPhoneNumberError",
          "description": "Twilio does not support calling this number or the number is invalid.",
          "explanation": "This error occurs when the provided number is not in E.164 format, or if none of Twilio's carrier partners are able to deliver the call.",
          "causes": [
            "The provided phone number is not in E.164 format or if none of Twilio's carrier partners are able to deliver the call."
          ],
          "solutions": [
            "Use E.164 formatting and ensure the destination is a valid, in-service destination."
          ]
        }
      ]
    }
  ]
}
