Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this pageProducts used
Looking for more inspiration?Visit the
Error
Application error

91308: Sink endpoint did not respond in time

Twilio Event Streams DocumentationEvents

Description

description page anchor

Twilio records this error when Event Streams establishes a connection and transmits an event to your sink, but the sink fails to return an HTTP response before the timeout limit is reached.

Because Twilio did not get a response from your sink, Twilio will automatically retry event delivery per retry policy. To prevent duplicate processing when retries occur, your sink should treat Event Streams delivery as at-least-once delivery and deduplicate incoming events using the unique Event ID.

Possible causes

possible-causes page anchor
  • The sink executes time-consuming operations, such as synchronous database writes, complex computations, or downstream API requests, before returning an HTTP response.
  • A service downstream from your handler experienced high latency or a timeout.
  • High incoming event volume exhausted available server resources.
  • Acknowledge incoming payloads immediately with an HTTP 2xx status code, offloading long-running operations to a background queue or worker process.
  • Monitor your sink response latencies to identify transient slowdowns under load.
  • Ensure your sink is sized appropriately for peak concurrency.

Additional resources

additional-resources page anchor