14232: Dial->Conference: Invalid Priority
TASKROUTER
ERROR
This error occurs when you provide a priority value for a TaskRouter conference flow and that value is not a valid integer. When you attach priority and timeout to a Task, both values must be valid integers. TaskRouter uses priority to determine task assignment order, so Twilio rejects values that cannot be parsed as an integer.
- The
priorityvalue contains letters, spaces, punctuation, or other non-numeric characters. - The
priorityvalue is a decimal, boolean, empty string, ornullinstead of a whole number. - Your application generates TwiML or a TaskRouter request dynamically and inserts an invalid
priorityvalue into the final payload. - A variable or template substitution step converts an expected integer into a non-integer string before the Task is created.
- Set
priorityto a whole-number integer such as5. - Validate and normalize any dynamic input before sending it as
priority. - Inspect the final TwiML or TaskRouter request payload and confirm
prioritycontains only a valid integer value. - If you do not need custom task prioritization, remove the invalid value and use the default Task priority.