Error 40122

Error - 40122

Call Redirection API Error - Redirect Instruction

Possible Causes

  • The call being redirected is no longer in progress.
  • The call_sid passed doesn't reference an actual call

Possible Solutions

  • Make certain "call_sid" is provided an is a 34 char string starting with CA that represents a live call.

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.