40159: Conference Instruction does not have a valid 'status_callback_url' parameter
TASKROUTER
ERROR
This error occurs when you send a TaskRouter conference instruction with a status_callback_url value that Twilio cannot validate. Conference instructions accept Conference Participants API parameters for the worker leg, and status_callback_url must be a valid HTTP or HTTPS URL string.
- You set
status_callback_urlto an empty string. - You passed
status_callback_urlwith the wrong data type instead of a string. - You provided a malformed URL in
status_callback_url. - The URL is missing the
http://orhttps://scheme. - Your application generated the assignment instruction dynamically and serialized
status_callback_urlincorrectly.
- Set
status_callback_urlto a complete, well-formed HTTP or HTTPS URL string. - Include the full scheme and host in the callback URL, for example
https://example.com/conference-events. - If you build assignment instructions in code, make sure
status_callback_urlis serialized as a string value. - If you do not need conference status callbacks, omit
status_callback_urlinstead of sending an empty value. - Review the Conference Participants API parameters you pass through the TaskRouter
conferenceinstruction and correct any invalid callback configuration before retrying the reservation update.