Voiceflow PartnersVPVoiceflow Partners
Powered by
dry-scarletD
Voiceflow Partners•2y ago•
1 reply
dry-scarlet

Odoo Integration Issue: "Expected value of type 'object' for '' but instead received 'string'" Error

Hello everyone,

I'm trying to integrate my Voiceflow chatbot with my Odoo system using an API key. I've followed the instructions and created a JavaScript function to handle the API requests, but I'm encountering a persistent error:

[ERROR]: Encountered an error in a Function step. Expected value of type 'object' for '' but instead received 'string'
I've verified that the response from the Odoo API is in JSON format and that I'm returning the response directly from my function. I've also tried encapsulating the response in an object, but the error persists.


Does anyone have any idea what could be causing this issue and how to resolve it?

Thanks in advance for your help!
Odoo_Int.js3.67KB
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

Help Needed: Odoo & Voiceflow Integration Challenges
dry-scarletDdry-scarlet / ❓┃ask-a-question
2y ago
[object Object] as output value
worthy-azureWworthy-azure / ❓┃ask-a-question
2y ago
Is there a way to store API response as JSON/object instead of text/string?
Cr4shBarcodeCCr4shBarcode / ❓┃ask-a-question
8mo ago
Whatsapp Integration Error
DesDDes / ❓┃ask-a-question
9mo ago