Menu

Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Error 40122

Product: TaskRouter

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"
}