# Process flow timeout retrieving large payload

## Scenario

A process flow run fails and shows a 'timeout' error in the logs. For example:

```
Operation timed out after 30000 milliseconds with 0 bytes received
```

## Reason

[Connection shapes](../building-process-flows/process-flow-shapes/standard-shapes/connector-shape) are associated with a **timeout** option, with a default setting based on the underlying third-party system. Typically there's no need to change the default setting but if the payload being pulled/pushed is particularly large and you receive a timeout error, increasing the timeout setting may resolve the issue.&#x20;

## Solution

**Step 1**\
[Access the required process flow](../accessing-your-process-flows).

**Step 2**\
Click the **settings** icon for the connection shape that is giving a timeout error:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2F6z2Hq9lMhlItqo8OT3d4%2Ftroubleshoot%20timeout%201.png?alt=media&#x26;token=bbee3e91-2d6d-460d-9c20-f487ea57d041" alt="" width="312"><figcaption></figcaption></figure></div>

**Step 3**\
Look for the timeout field and increase the existing value.&#x20;

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FPovI5hG4kncHvaCXrr8t%2Ftroubleshoot%20timeout%202.png?alt=media&#x26;token=a94868b1-fe45-4b42-84ae-81c9daddaa10" alt="" width="375"><figcaption></figcaption></figure></div>

{% hint style="info" %}
We suggest increasing the existing value by +20 seconds.&#x20;
{% endhint %}

**Step 4**\
Save changes.&#x20;

**Step 5**\
Check the logs next time this process flow runs. If the timeout error is repeated, adjust this setting again. If the issue persists having increased the timeout, please [contact Patchworks support](../../raising-a-support-ticket) for further assistance.
