diff --git a/packages/text-to-speech/src/index.ts b/packages/text-to-speech/src/index.ts index 3d35fa3a8..63f9a6631 100644 --- a/packages/text-to-speech/src/index.ts +++ b/packages/text-to-speech/src/index.ts @@ -160,9 +160,6 @@ export const textToSpeechStreamingHandler = Sentry.GCPFunction.wrapHttpFunction( try { const utteranceInput = req.body as UtteranceInput - if (!utteranceInput.text) { - return res.status(400).send({ errorCode: 'INVALID_DATA' }) - } const input: TextToSpeechInput = { ...utteranceInput, textType: 'utterance',