# Request failed with status code 413 for image binary data

**URL:** <https://community.n8n.io/t/request-failed-with-status-code-413-for-image-binary-data/191947>\
**Category:** Questions\
**Created:** [September 22, 2025, 5:41am UTC](https://community.n8n.io/t/request-failed-with-status-code-413-for-image-binary-data/191947 "2025-09-22T05:41:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dhruv29](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/dhruv29/32/59945_2.png) [@Dhruv29](https://community.n8n.io/u/Dhruv29)\
**Post date:** [September 22, 2025, 5:41am UTC](https://community.n8n.io/t/request-failed-with-status-code-413-for-image-binary-data/191947/1 "2025-09-22T05:41:53Z")

</div>

Problem running workflow  
Please execute the whole workflow, rather than just the node. (Existing execution data is too large.)

---

<div class="post-metadata">

**Author:** ![krisn0x](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/krisn0x/32/118504_2.png) [@krisn0x](https://community.n8n.io/u/krisn0x)\
**Post date:** [September 22, 2025, 9:25am UTC](https://community.n8n.io/t/request-failed-with-status-code-413-for-image-binary-data/191947/2 "2025-09-22T09:25:27Z")

</div>

Hey!

Are you self hosted? IF yes:

Add this environment variable to your Docker Compose or **`.env`** file to increase the allowed workflow memory:

```auto
environment: - N8N_PAYLOAD_SIZE_MAX=268435456 # 256MB (recommended)
# Or adjust based on your needs:
# - N8N_PAYLOAD_SIZE_MAX=67108864 # 64MB
# - N8N_PAYLOAD_SIZE_MAX=536870912 # 512MB

```

Alternatively:

1. Execute Full Workflow Instead  
Click “Execute Workflow” instead of testing individual nodes

2. Reduce Data Size

- Split Large Workflows:
- Break complex workflows into sub-workflows
- Process data in smaller batches
- Use SplitInBatches node for large datasets

1. Optimize Data Flow:

- Remove unnecessary data between nodes
- Use Set node to select only required fields
- Process files externally when possible

Please mark as Solution if any of this helped 🙂

---

<div class="post-metadata">

**Author:** ![Dhruv29](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/dhruv29/32/59945_2.png) [@Dhruv29](https://community.n8n.io/u/Dhruv29)\
**Post date:** [September 22, 2025, 9:56am UTC](https://community.n8n.io/t/request-failed-with-status-code-413-for-image-binary-data/191947/3 "2025-09-22T09:56:00Z")

</div>

Thanks for your effort,  
But i can already solved.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [September 29, 2025, 9:56am UTC](https://community.n8n.io/t/request-failed-with-status-code-413-for-image-binary-data/191947/4 "2025-09-29T09:56:35Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
