Workflow error
# support
v
Thanks for sharing those details! I couldn't find enough info about the specific error message you're seeing ("undefined is not an object (evaluating 'Object.keys(I)')") in the resources I have. Just so you know, workflows in Vapi are a way to break down AI conversations into visual steps and branches, making things more manageable [[source](https://your-knowledge-base-link.com)]. Since this error looks unusual and is affecting all your workflows, I'm escalating this to a human expert who can help you out further. Hang tight—someone will get back to you soon!
The error
"undefined is not an object (evaluating 'Object.keys(I)')"
means the variable
I
is undefined when
Object.keys(I)
is called. To prevent this, update your code to safely handle undefined values:
Copy code
js
const keys = Object.keys(I || {});
This ensures
Object.keys
always receives an object, avoiding the error. Review your workflow steps to make sure all variables are properly initialized before use. Source: - [Discord discussion on JavaScript error handling](https://discord.com/channels/1211482211119796234/1328923059905630238)
p
Hey, Could you please schedule a brief call at your convenience so we can discuss this matter in detail? Kindly use the following link to book a suitable time: .
j
You don't have availability until next month
@Shubham Bajaj
p
We are currently refactoring workflows to improve functionality. For the time being, please create a new workflow or use a single prompt assistant