• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

Keep getting API response timeouts due to 25 second rule

ArshilAhmad

Moderator
Staff member
Hi @slade84,

In step 3 of your workflow, you appear to be making a POST request. The application whose endpoint you are executing may take more than 25 seconds to process the request and send a response back to Pabbly Connect, which results in the "Response Not Received in 25 Seconds" error.

The documentation states that the application should immediately send a response to Pabbly Connect without processing the POST request. This prevents the "Response Not Received in 25 Seconds" error. You can then add a Delay as step 4 of your workflow to allow the application enough time to process the POST request. After the delay, execute another endpoint with a GET request to fetch the processed information.
 

slade84

Member
Hi @slade84,

In step 3 of your workflow, you appear to be making a POST request. The application whose endpoint you are executing may take more than 25 seconds to process the request and send a response back to Pabbly Connect, which results in the "Response Not Received in 25 Seconds" error.

The documentation states that the application should immediately send a response to Pabbly Connect without processing the POST request. This prevents the "Response Not Received in 25 Seconds" error. You can then add a Delay as step 4 of your workflow to allow the application enough time to process the POST request. After the delay, execute another endpoint with a GET request to fetch the processed information.

@ArshilAhmad how do I get it to immediately send a response back? Here is their documentation: https://afforai.com/documentation#post-/completion


What app's api you're trying?

@Fagun Shah it's afforai.com. It's an AI research tool, so it will always take a long time because it has to sift through a few hundred documents to find the answer and send it back. So, I need to give it time to respond.
 

Fagun Shah

Well-known member
@ArshilAhmad how do I get it to immediately send a response back? Here is their documentation: https://afforai.com/documentation#post-/completion




@Fagun Shah it's afforai.com. It's an AI research tool, so it will always take a long time because it has to sift through a few hundred documents to find the answer and send it back. So, I need to give it time to respond.
Ohk, in afforai case there are only 2 options for you,

1. Ask pabbly team to increase your custom app's timeout limit
2. Ask Afforai team to add webhook support or provide Get Request by Id endpoint which you can call later in the same workflow after Delay action

I am actually always recommending pabbly team to introduce timeout based task usage, like if it takes 25-seconds or less use 1 task, if it uses between 25-50 then use 2 tasks and so on. But currently this is not available which limits use of AI models in pabbly connect.
 
Top