SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

Why does my destination function work successfully in the Function Tester but throw errors with live events?

Question

Why does my destination function work successfully in the Function Tester but throw errors with live events?

 

Product

Twilio Segment

 

Environment

Segment Console

 

Answer

This can happen if the live events passing through are different from the event sample you used to test the function. 

The most common errors that can be triggered in the live pipeline include:

EventNotSupported If you haven't supplied a function for a particular event type, Segment throws an EventNotSupported error by default.
RetryError Segment's internal system retries failed functions API calls for four hours with a randomized exponential backoff after each attempt. This substantially improves delivery rates. Note: Retries work the same for both functions and cloud-mode destinations in Segment.

 

 

Additional Information 

For more details on errors and limits of destination functions, please refer to the following pages:

 

Have more questions? Submit a request
Powered by Zendesk