Error 40120

Error - 40120

Missing or Invalid 'url' parameter - Redirect Instruction

Possible Causes

  • You did not provide a "url" parameter on your 'redirect' instruction.
  • You provided an invalid format in your "url" field.

Possible Solutions

  • Make certain "url" is provided and contains a well formed HTTP or HTTPS URL.

Example

{
    "instruction": "redirect",
    "call_sid": "CA0123456789abcdef0123456789abcdef",
    "url": "https://example.com/twiml?querystring=1234"
}

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.