Hello, I am trying to create a workflow that includes a form with a field for uploading an image. When the image is less than 1MB, everything works fine; however, as soon as the image exceeds 1MB, I receive a 413 error. For information, I am using an Nginx proxy.
Thank you for your response @hubschrauber. I tried changing the nginx configuration by adding client_max_body_size 200M; but without more success.
When switching back to test mode, however, I see this type of message: âThis operation expects the nodeâs input data to contain a binary file âT_l_versez_une_imageâ, but none was found [item 0].â n8n goes to the next node, but no image is uploaded when the file is around 1MB.
I tried a workflow just with a form. This time it works even with a file larger than 1 MB. So, I modified my current workflow and placed the file field in the start form, and this time it works⊠strange.
Sounds like you might have found a legitimate bug. IMO, the behavior shouldnât be different depending on which form node you use (form trigger vs. next form page). There are no documented file size limitations of next form page anyway.
Assuming you would prefer your form steps to proceed as you had them originally, the only other thing I can think of that may be a factor is the presence or absense of a form ending node. That is prescribed in the documentation but you didnât mention whether you had tried to include it in your workflow or not. If you try it, please post a reply with the results so others will know whether that was the cause.
Indeed, I had forgotten to declare the end of the form with the corresponding node. However, even after correctly declaring the end of the form, I am still encountering this issue.