Not retreiving tool data
# support
k
tools is not retrieving data from 'response to webhook' node. Below is the response code { "results": [ { "toolCallId": "3b5d1763-f688-41bc-a4ff-342fd3113540", "result": "phone number is 9123231243" } ] }
v
message has been deleted
@Kishore Kumar It seems like you're having trouble with retrieving data from a 'response to webhook' node. The response code you've provided indicates that the tool has successfully returned a result with a phone number. If you're expecting this data to be captured or processed by another tool or part of your system and it's not happening, there might be an issue with how the data is being handled after it's retrieved. To assist you further, I would need to know more about the context in which this tool is being used and what you're expecting to happen with the data once it's retrieved. Could you please provide more details or clarify the issue you're facing?
You can continue this conversation by mentioning me in the message.
k
@Vapi When ask about phone number , assistant has to tell the phone number . assistant says i'm not able the get the data from the database.
v
@Kishore Kumar I understand that you're expecting the assistant to provide the phone number when asked, but it seems there's an issue with retrieving the data from the database. The response code you've shared indicates that the tool did return a phone number:
9123231243
. If the assistant is supposed to relay this number to the user and is instead reporting an inability to get the data, there may be a disconnect between the tool that retrieves the data and the assistant's response logic. To resolve this, you'll need to ensure that the assistant's logic is correctly parsing the response from the tool and then using that data to inform the user. If the logic is in place but not functioning as expected, it may require debugging or additional error handling to manage cases where the data retrieval is unsuccessful. If you have access to the code or the system configuration, you should check the following: 1. Ensure that the assistant's logic is set up to handle the response from the webhook correctly. 2. Verify that the assistant is parsing the
results
array and accessing the
result
field within it. 3. Check for any conditions or error handling that might prevent the assistant from providing the phone number even when it is available. 4. If the assistant is part of a larger system, ensure that there are no issues with data flow between components. If you need assistance with specific code or system configuration, please provide more details so I can offer more targeted advice.
s
call id please.
k
@Shubham Bajaj call id :1c839d68-977a-4b2c-8649-de5198232a76
@Shubham Bajaj { "results": [ { "toolCallId": "ef206012-081f-4697-b1a3-6a835b9aff3e", "result": " first name is {{ $json["First Name"] }} and the surname is {{ $json["Surname"] }} emailid is {{ $json["Email"] }} " } ] }
s
check your server url, 🔵 14:25:36:979 [user ERROR] tool-calls Server URL Error: Request failed with status code 404