Increasing the timeout seconds for Tools
# support
u
Hello, I want to increase the timeout seconds for the tool create on dashboard using make.com since the tool is taking more than 20 seconds to return the results and upon running it I am getting "no results returned" everytime. The tool is working properly it just that it is taking more time than it should take to get the results back to Vapi. I have also tried using the Postman and Vapi API to create the same tool but it seems I cannot increase it beyond 20 seconds in here as well. Kindly let me know if there is any other method or if I am missing something.
v
@08anas Hello! To address the issue with the timeout when using make.com or directly through the VAPI API, you'll need to check if there's an option to configure the timeout settings within make.com for the specific tool you're using. If the tool itself doesn't provide a way to increase the timeout beyond 20 seconds, you might need to look into optimizing the tool's performance to ensure it completes its task within the given timeframe. If you've already explored all settings on make.com and within the VAPI API and found no way to extend the timeout, I would recommend reaching out to the support team of make.com or the provider of the tool to inquire about the possibility of increasing the timeout limit or optimizing the tool's performance. In the meantime, if there are any other questions or if you need further assistance with VAPI, please let me know!
You can continue this conversation by mentioning me in the message.
u
@Vapi I dont think there is any problem with Make.com because the tool is getting executed perfectly and is giving the results but it is crossing the limit of 20 seconds to get the response back to Vapi. So I am getting no results as a consequence. So again, coming back to the same thing, I want to extend the timeout for that particular tool call and I just want a way to do that because the tool will take that much of time no matter what.
v
@08anas I understand your concern. If the tool is functioning correctly but simply requires more time to complete its operation than the current timeout allows, you'll need to adjust the timeout settings within the environment that is initiating the call to the tool. Since you've mentioned that you are unable to increase the timeout beyond 20 seconds through VAPI or Postman, this suggests that there might be a hard limit set within the VAPI configuration or the API gateway that is being used. Here are a few steps you can take: 1. **Check VAPI Documentation**: Review the VAPI documentation to see if there are any settings or parameters that allow you to configure the timeout for API calls. 2. **Contact VAPI Support**: If the documentation does not provide a solution, reach out to VAPI support to ask if there's a way to increase the timeout for tool calls. 3. **API Gateway Settings**: If you are using an API gateway or a similar intermediary service, check its settings to see if you can increase the timeout there. 4. **Make.com Settings**: Double-check make.com settings to ensure there isn't an overlooked option to adjust the timeout for outgoing API calls. 5. **Backend Optimization**: If none of the above solutions are viable, consider optimizing the backend process of the tool to ensure it completes within the 20-second window. Unfortunately, without direct access to the VAPI configuration or the ability to modify its settings, there's no action I can take on my end to extend the timeout. If you need further assistance or if there's anything else I can help you with, please let me know.
u
@Shubham Bajaj Can you please help me with this one?
s
@08anas Sorry for the late answer by default we wait for 20 seconds for your server to return the response but as you can see in the screenshot this wait time is customisable and you can increase upto 120 seconds which will solve your issue. To update your tool call timeoutSeconds visit this url https://docs.vapi.ai/api-reference/calls/create?playground=%2Fapi-reference%2Ftools%2Fupdate and then enter the private API key, update the required fields. Do let me know if anything else is required. https://cdn.discordapp.com/attachments/1317127926172487751/1325574476540416161/Screenshot_2025-01-06_at_02.47.02.png?ex=677c48ef&is=677af76f&hm=8e515967415d997581eaee3ad5a6877cd724a32c13e65d33a957137ddbe4ef7e&
u
Tried doing that already, but the timeout second is always the default value even affter this.
@Shubham Bajaj Is there any other way of doing the same thing.
s
@08anas can you share the tool id, I will update the timeoutSeconds to 120.
u
@Shubham Bajaj Sure, this is the tool Id: c0024e62-6d6a-4eb5-a34d-f26cdb7a0d3d
s
Done updated to 120 seconds. Can you try once and let me know how it goes.
u
Thank you so much @Shubham Bajaj , it works!! Actually I need one more suggestion from you which is a little subjective, is it possible for me to connect with you anytime soon?
s
Yeah you can connect with me in discord OH day after tomorrow.
u
Okay, but I was asking for more of like a one-on-one meet.
s
Let's connect sometime later at end of this week.
u
Okay, Let me know when and how should I schedule a call for it.
s
I will share the link with you.
u
Thank you, @Shubham Bajaj
5 Views