https://retellai.com/?utm_source=discord&utm_medium=seo logo
Error in Transitioning to the Next State
# ❓・bug-report
a
Hi there, can you please explain why I am not getting the exact error? It's been a while, I have tried to post a couple of times and got a response from one of the guys, but the things that he recommended I already implemented them, but still, this system is not moving to the next state and still stuck at that place, and it's been a week. And why we can not see the actual error so we can fix this directly. Please help me fix this issue. https://cdn.discordapp.com/attachments/1453752922323161140/1453752922809696465/Screenshot_2025-12-25_at_7.08.29_PM.png?ex=694e986a&is=694d46ea&hm=2153604776a7fa8598cf56ea1118e2ab70b0136c67a2ec8fb3f93df0dc0833c3&
o
Hello @AIDevStudio , can you share your agent id ?
a
agent_d59124a8d3175795052f9729d7
o
Can you try with GPT 4.1
a
still same issue]
o
Can you share how to reproduce it ?
or if it happend in a call , can you share the call id
a
Just simply test the agent maybe through a call or to a chat you'll see this at it.
After almost three messages, you're gonna see this error.
o
Okay, the path condition on the edge initial encounter, is a bit confusing for the agent , can you try to modify it to be a bit simple, and try again
a
Which specifically the one in between initial encounter and introduction, or initial encounter and demographic?
o
between initial encounter and introduction
a
But what I notice through the process is that it is transitioning to initial encounter successfully.
o
Yes you are correct , let me report that to the team, I will update you soon.
This happens on calls also or just the chat ?
a
in both
o
The issue is the name of the tool : collect_procedure_tests_immunizations_care_team_insurance , Is too long , shirk it down , the max length is 64
a
itd already less then 64 @Omar Ashraf | Community Lead
i am really confused
It is not solved. Why is it marked as solved?
o
Hello @AIDevStudio , I thought you fixed it since you didn't answer , any way I removed the mark solved , the main issue is coming from the functions names , not just this one , you have a few functions names that is a bit long , the limit 64 was for something else , now to make it work try to make the names under 50 char I will check with the team for the exact limit but for now keep it under 50 char , I tested it with your agent and it did work fine( check the image ) after i changed these functions name ( Collect_family_residence_cancer_risk_assesment....., collect_procedure_tests_immunizations_care_team.... ) Make them a little bit shorter under 50 char and test again , it should work fine. https://cdn.discordapp.com/attachments/1453752922323161140/1453993638324605009/image.png?ex=694f7899&is=694e2719&hm=39b773e0e1b2216a6851b473387ee82cea694f779c1954159e8285128169f7ee&
a
its is sovled
Thank you @Omar Ashraf | Community Lead