Emma Vande Wouwer
Emma Vande Wouwer

Reputation: 129

Can Dialogflow response time limit be modified?

I am making a bot on dialogflow with a webhook. I get an error : DEADLINE_EXCEEDED. My webhook takes a bit over 5 seconds to return a response. Is there a way to allow a longer time than 5 seconds ?

Upvotes: 5

Views: 3536

Answers (1)

Beppe C
Beppe C

Reputation: 13883

This is not possible. One possibility is to (if you have for example a background task which takes some time) is to send back (before the 5 sec timeout) an Event. This triggers again a call to the Webhook, so you get another 5 sec to finish your background process.

Upvotes: 3

Related Questions