Menu

Expand
Rate this page:

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"
}
Rate this page:

Thank you for your feedback!

Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

thanks-feedback-gif