> For the complete documentation index, see [llms.txt](https://doc.wearepatchworks.com/product-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.wearepatchworks.com/product-documentation/process-flows/troubleshooting-process-flows/process-flow-timeout-retrieving-large-payload.md).

# 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](/product-documentation/process-flows/building-process-flows/process-flow-shapes/standard-shapes/connector-shape.md) 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.

## Solution

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

**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&amp;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.

<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&amp;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.
{% endhint %}

**Step 4**\
Save changes.

**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](/product-documentation/raising-a-support-ticket.md) for further assistance.
