# Timeout Error in Connect AI

**URL:** <https://community.cdata.com/t/timeout-error-in-connect-ai/94>\
**Category:** CData Connect AI\
**Tags:** question, cdata-connect-ai\
**Created:** [March 23, 2023, 9:08pm UTC](https://community.cdata.com/t/timeout-error-in-connect-ai/94 "2023-03-23T21:08:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rodrigo\_de\_Albuquerque](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@Rodrigo\_de\_Albuquerque](https://community.cdata.com/u/Rodrigo_de_Albuquerque)\
**Post date:** [March 23, 2023, 9:08pm UTC](https://community.cdata.com/t/timeout-error-in-connect-ai/94/1 "2023-03-23T21:08:33Z")

</div>

I’m facing a timeout error when executing queries to tables for a&nbsp;given connection in Connect AI. The error message is as follows:

```auto
[ERROR] Execution of the SELECT query failed. Error: Timeout when wait response.

```

I tried to increase the Timeout value in the connection Advanced Settings tab, but nothing changed. What should I do?

---

<div class="post-metadata">

**Author:** ![Rodrigo\_de\_Albuquerque](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@Rodrigo\_de\_Albuquerque](https://community.cdata.com/u/Rodrigo_de_Albuquerque)\
**Post date:** [March 23, 2023, 9:20pm UTC](https://community.cdata.com/t/timeout-error-in-connect-ai/94/2 "2023-03-23T21:20:13Z")

</div>

The default value for the timeout in the Advanced Settings Tab is 30 seconds. That means that after 30 seconds of execution of the query, the process will timeout no matter the state of completion of the query. Therefore, if&nbsp;the query takes longer than 30 seconds to execute due to the amount of data or for other reasons, then the Timeout property in the Advanced Settings tab should be changed to something other than 30 seconds.

The best option here is to make Timeout = 0, because&nbsp;Timeout&nbsp;set to 0 will make&nbsp;the query run until it fully completes or until it encounters an error.&nbsp;&nbsp;It is essential that you hit the “Save Changes” button before you proceed in order to save the new Timeout value.
