How to update N8N_PAYLOAD_SIZE_MAX variable on AWS ECS hosted n8n

Describe the issue/error/question

How Do I update N8N_PAYLOAD_SIZE_MAX variable when I am using n8n via docker on AWS?
I tried to change another variable (EXECUTIONS_PROCESS to main) by adding the variable in task definitions on AWS ECS where n8n is deployed.

What is the error message (if any)?

When I did the same with N8N_PAYLOAD_SIZE_MAX, it does not work.
I practically tried working with file sizes from 2KB to 30MB.
It crashes exactly when file size crosses 16MB (default value for N8N_PAYLOAD_SIZE_MAX)

Task definitions is not the place to add N8N_PAYLOAD_SIZE_MAX variable?

Hey @kp-kun-dip,

You would set the environment option wherever the other options are set, did you follow any specific guide when setting up n8n?

It works now!
I had to increase the spec of my container task after updating N8N_PAYLOAD_SIZE_MAX in task definitions.


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