able-jackal-19719
09/09/2025, 5:57 PM2025-09-10 00:50:18,223 - WARNING livekit.agents - failed to synthesize speech, retrying in 0.1s
Traceback (most recent call last):
File "/Users/affahrizain/kata-ai/dda-ai-agent/.venv/lib/python3.13/site-packages/livekit/plugins/hume/tts.py", line 260, in _run
resp.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~^^
File "/Users/affahrizain/kata-ai/dda-ai-agent/.venv/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 1161, in raise_for_status
raise ClientResponseError(
...<5 lines>...
)
aiohttp.client_exceptions.ClientResponseError: 422, message='Unprocessable Entity', url='https://api.hume.ai/v0/tts/stream/json'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/affahrizain/kata-ai/dda-ai-agent/.venv/lib/python3.13/site-packages/livekit/agents/tts/tts.py", line 228, in _main_task
await self._run(output_emitter)
File "/Users/affahrizain/kata-ai/dda-ai-agent/.venv/lib/python3.13/site-packages/livekit/plugins/hume/tts.py", line 287, in _run
raise APIConnectionError() from e
livekit.agents._exceptions.APIConnectionError: Connection error. (body=None, retryable=True) {"tts": "livekit.plugins.hume.tts.TTS", "attempt": 1, "streamed": false, "pid": 64591, "job_id": "AJ_eXtTjd8NzrXy"}
these are my installed libraries
livekit 1.0.12
livekit-agents 1.2.2
livekit-api 1.0.5
livekit-blingfire 1.0.0
livekit-plugins-azure 1.0.21
livekit-plugins-cartesia 1.2.2
livekit-plugins-deepgram 1.2.2
livekit-plugins-elevenlabs 1.2.2
livekit-plugins-groq 1.2.2
livekit-plugins-hume 1.2.2
livekit-plugins-noise-cancellation 0.2.3
livekit-plugins-openai 1.2.2
livekit-plugins-silero 1.2.2
livekit-plugins-turn-detector 1.2.2
livekit-protocol 1.0.4
how to fix it?tall-airline-16756
09/09/2025, 5:57 PMtall-airline-16756
09/09/2025, 5:58 PM