VoiceflowVVoiceflow
Powered by
Nehal AzharN
Voiceflow•2w ago•
3 replies
Nehal Azhar

All Custom Functions Expecting "text" type variables only - Failing

❓Functions
I have this agent working working for 2 years now
today all of a sudden all custom functions started throwing this error

{
"time": 1769784206973,
"type": "debug",
"payload": {
"ref": {
"type": "node",
"nodeID": "6738402669bb0b6d4c17b24b",
"nodeType": "function",
"diagramID": "65ef3875ba8b265a74bc582a"
},
"level": "warn",
"message": "execution failed",
"context": "Function",
"metadata": {
"error": {
"varName": "facilityId",
"expectedType": "text",
"actualValue": 4281,
"name": "Error",
"message": "Function received an invalid value with type 'number' for input variable 'facilityId' with expected type 'text'"
},
"latency": 1
}
}
}

This is happening for all agents on all my client accounts

please tell me a way around this or fix this, all the agents have stopped working
they are all on prod!
Thanks!
Voiceflow banner
VoiceflowJoin
Voiceflow is your community to get help, stay up to date on product releases, and connect with builders, experts, and the Voiceflow team⚡
13,087Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Custom functions
efficient-indigoEefficient-indigo / ❓┃help
2y ago
Error using Functions with Input and Output variables
verbal-limeVverbal-lime / ❓┃help
3y ago
Sending custom variables from the page
TonyTTony / ❓┃help
9mo ago
how do i send Custom Variables
radical-limeRradical-lime / ❓┃help
2y ago
Recent Announcements
jacklyn

# Let your agents search the web 🔎 Hey everyone! We just released the web search tool for the agent step! Your agents can now automatically search the web for information, letting your agent supplement the LLM's knowledge and the data in its knowledge base with live, up-to-date information. Plus.... * You can restrict searches to specific domains, so your agent only searches sites that you own * This is a tool, so you remain in control of when the agent searches the web * Results are automatically summarized in a way that your agent can automatically understand Under the hood, we're using OpenAI's web search API. Give it a try, and let us know what you think! https://docs.voiceflow.com/changelog/native-web-search-tool

jacklyn · 3mo ago

jacklyn

jacklynbiggin's Thread

jacklyn · 3mo ago

hurt-tomato

connor_maclean's Thread

hurt-tomato · 3mo ago