Voiceflow PartnersVPVoiceflow Partners
Powered by
scattered-tealS
Voiceflow Partners•3y ago•
6 replies
scattered-teal

{last_response} is undefined (Stack error message in post)

Added the javascript code to the post. It's a regular javascript block.

This however does not happen during testing, only on production.





This is the error message:

Stacks: "ReferenceError: last_response is not defined\n    at vm.js:208:31\n    at vm.js:236:3\n    at Script.runInContext (vm.js:130:18)\n    at /var/task/node_modules/vm2/lib/main.js:941:53\n    at timeout_bridge.js:1:1\n    at Script.runInContext (vm.js:130:18)\n    at doWithTimeout (/var/task/node_modules/vm2/lib/main.js:537:17)\n    at VM.run (/var/task/node_modules/vm2/lib/main.js:939:10)\n    at exports.vmExecute (/var/task/node_modules/@voiceflow/runtime/build/lib/Handlers/code/utils.js:26:8)\n    at Runtime.module.exports.execute [as handler] (/var/task/handler.js:27:20)"
Stacks: "ReferenceError: last_response is not defined\n    at vm.js:208:31\n    at vm.js:236:3\n    at Script.runInContext (vm.js:130:18)\n    at /var/task/node_modules/vm2/lib/main.js:941:53\n    at timeout_bridge.js:1:1\n    at Script.runInContext (vm.js:130:18)\n    at doWithTimeout (/var/task/node_modules/vm2/lib/main.js:537:17)\n    at VM.run (/var/task/node_modules/vm2/lib/main.js:939:10)\n    at exports.vmExecute (/var/task/node_modules/@voiceflow/runtime/build/lib/Handlers/code/utils.js:26:8)\n    at Runtime.module.exports.execute [as handler] (/var/task/handler.js:27:20)"
Astro_Conversation_Component.js7.89KB
Voiceflow Partners banner
Voiceflow PartnersJoin
Exclusive community for Voiceflow Solutions Providers & Content Creators.
13,076Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
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 · 4mo ago

jacklyn

jacklynbiggin's Thread

jacklyn · 4mo ago

hurt-tomato

connor_maclean's Thread

hurt-tomato · 4mo ago

Similar Threads

Triggering API call to export last_uttarance and last_response in agent step.
Radiant raindropRRadiant raindrop / ❓┃ask-a-question
4mo ago
Error message
efficient-indigoEefficient-indigo / ❓┃ask-a-question
3y ago
SOAP API Post Request (Cannot get response)
dry-scarletDdry-scarlet / ❓┃ask-a-question
2y ago
template Error message
managerial-maroonMmanagerial-maroon / ❓┃ask-a-question
2y ago