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

91004: Test event cannot be found

Twilio Event Streams DocumentationEvents

Description

description page anchor

This error occurs when you try to validate an Event Streams sink with a testId that Twilio cannot match to a previously created sink test event. Create the test event with the Sink Test resource before you submit its ID to the Sink Validate resource.

Possible causes

possible-causes page anchor
  • You called the Sink Validate resource before creating a test event for the sink.
  • The testId you submitted does not match the test event generated for the sink you are validating.
  • You used a different value instead of the test event ID from the request body sent to your webhook endpoint during sink validation.
  • Create a test event for the sink before you call the Sink Validate resource.
  • If you validate a webhook sink connection, read the request body sent to your endpoint and submit the test event ID returned in that test event.
  • Confirm that the testId belongs to the same sink you are validating and that you copied it exactly.
  • For new integrations, skip sink validation unless you need it for an existing workflow. Sinks are active by default, but the validation endpoint still expects a valid testId if you call it.

Additional resources

additional-resources page anchor