aivini
10/09/2025, 6:21 PMVapi Support Bot
10/09/2025, 6:22 PMjs
app.use('/api/synthesize', (req, res, next) => {
console.log('Headers:', req.headers);
next();
});
This will let you verify exactly what Vapi sends and help you identify if/when Accept: text/event-stream is missing, so you can adjust your endpoint logic or report the precise behavior to Vapi support for further assistance.
See the [Vapi custom TTS docs](https://docs.vapi.ai/customization/custom-voices/custom-tts) for more debugging tips.
Source:
- [Custom TTS integration](https://docs.vapi.ai/customization/custom-voices/custom-tts)aivini
10/10/2025, 10:40 AM