91004: Test event cannot be found
EVENTS
ERROR
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.
- You called the Sink Validate resource before creating a test event for the sink.
- The
testIdyou 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
testIdbelongs 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
activeby default, but the validation endpoint still expects a validtestIdif you call it.