> 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="/files/s85hrHOPgUVGB0L5xNmY" 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="/files/XNL3NwA8522eAKUqEV9o" 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.
