---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/91004#article
headline: "91004: Test event cannot be found"
url: https://www.twilio.com/docs/api/errors/91004
inLanguage: en
dateModified: 2026-06-09T11:00:42.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 91004: Test event cannot be found

Log Type: APPLICATION

Log Level: ERROR

## Description

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

* 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.

### Possible solutions

* 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

* [Event Streams overview](/docs/events)
* [Sink Test resource](/docs/events/event-streams/sink-resource/test)
* [Sink Validate resource](/docs/events/event-streams/sink-resource/validate)
