the agent in agent-starter-python used to work for...
# ask-ai
a
the agent in agent-starter-python used to work for me, now I no longer hear it and see this : 2025-07-30 125222,134 - WARNING livekit.agents - failed to synthesize speech, retrying in 2.0s {"room": "fake_room", "tts": "livekit.plugins.cartesia.tts.TTS", "attempt": 3, "streamed": true} Traceback (most recent call last): File "/Users/anneanquetin/repositories/agent-starter-python/.venv/lib/python3.13/site-packages/livekit/agents/tts/tts.py", line 348, in _main_task await self._run(output_emitter) File "/Users/anneanquetin/repositories/agent-starter-python/.venv/lib/python3.13/site-packages/livekit/plugins/cartesia/tts.py", line 374, in _run raise APIStatusError( message=e.message, status_code=e.status, request_id=None, body=None ) from None livekit.agents._exceptions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False)
t
Thanks for reaching out, Anne. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!