Error 40131

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

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.