https://retellai.com/?utm_source=discord&utm_medium=seo logo
getting this on agent PLAYGROUND "Failed to get LL...
# ❓・ai-evy-support
a
Thanks for tagging me @ataulfos. I'll look through relevant sources and get back to you shortly.
### Answer The error "Invalid message role received: state_transition" suggests an issue with your agent's state configuration. Based on the available sources, here are some troubleshooting steps: For LLM Playground errors, you can use the debug functionality [(1) ]() . When you get unexpected agent responses or errors, click the "Debug" button on the agent's response and follow the suggested solutions . The error might be related to your agent's state configuration. If you're using a multi-state agent, ensure your states are properly configured with valid transitions [(2) ]() . The states should have proper
edges
with valid
destination_state_name
values . Similar "Failed to get LLM response" errors have been reported by other users [(3) ]() [(4) ]() . In some cases, switching models (like from GPT to Claude Sonnet) has resolved the issue [(4) ]() . For immediate support with this specific error, I recommend: - Visit [Contact Sales]() - Visit [) Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Debug your agent response](https://docs.retellai.com/test/llm-playground-debug) [[2] Update Retell LLM](https://docs.retellai.com/api-references/update-retell-llm) [[3] Failed to get LLM response](https://discord.com/channels/1186424376300679209/1313114175492329502) [[4] Failed to get LLM response error](https://discord.com/channels/1186424376300679209/1313215738269401098) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.