Can't Upload PDFs over 1,000 kb

I am trying to extract data from a pdf but I can’t seem to do this with any file over 1,000KB. I tested with a 171KB pdf and it worked fine, and again with a 607KB pdf, but the 1100KB pdf and all others of larger size gave me the error Problem submitting response

An error occurred in the workflow handling this form

The error is also NOT in the execution log, because the form trigger won’t even run. How can I upload larger pdf files?

Share the output returned by the last node

pdf-form-glitch

  • n8n version: 1.54.4
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Windows 11

Hi @anthony.lee_hah,

The variable that controls the maximum file size for form-data payloads is N8N_FORMDATA_FILE_SIZE_MAX and you can customize the value to upload larger file sizes. (the default is 200MiB) See the docs for more details: Endpoints environment variables | n8n Docs

1 Like

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