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 40131

Product: TaskRouter

Error - 40131

Missing or Invalid 'to' parameter - Dequeue Instruction

Possible Causes

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

Possible Solutions

  • Make certain "to" contains a valid phone number, client URI, or SIP URI.

Example

{
    "instruction": "dequeue",
    "to": "client:alice",
    "from": "bob",
    "post_work_activity_sid": "WA0123456789abcdef0123456789abcdef"
}