# 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.&#x20;

## 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.&#x20;

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.wearepatchworks.com/product-documentation/process-flows/troubleshooting-process-flows/process-flow-timeout-retrieving-large-payload.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
