https://discord.gg/botpress logo
Tool global.search failed
# 🤝help
p
Could you share the logs and an example of what happens in webchat?
r
Ok as you have stated that you are using autonomous node the tool will not be called correctly every time , you need to implement proper calling/using instructions in the auto-node to ensure reliability same issue was occurring for @happy-garden-67581 but while using custom workflow but calls to both are made in a similar way try to find out if the JSON payload of the successful call / use is any different of the failed one or share the logs directly. I hope you find a solution :]
r
ok the first problem as we can see is an zod error which means that one of the parameters being passed is of invalid nature / format so you need to correct it , here you can see that the tool is expecting an object but parameter passed is in the form of a string (dancing class at Red Academy).
r
how should i fix it. i should change the document in the kb?
the doc i put in kb is some google doc of text only.
and a webpage.
r
No the problem I believe is in the way the auto-node uses the tool , have you seen @happy-garden-67581 post its not that old you can use a similar format so that you can solve you problem .I believe you can solve the problem by refering to his latest post in the same channel
h
My issue was resolved by removing the HTTP Request / API call integration, which was persisting a deleted sub workflow and resulting in tool Calls to a non-existent sub workflow. This may not be the same solution that you need.