I’ve created a single node workflow for a Form submission trigger
The only Form element is File (for file upload)
The aim is to capture via camera some documents to upload.
If I choose a csv or text file it seems OK.
Anything else it hangs or I get an error.
What is the error message (if any)?
Problem submitting response
It either hangs or shows the message below:
The form could not be submitted. Please check your connection and try again, or contact support if the problem persists.
I would first isolate whether the failure follows file size rather than file type. Phone photos are usually much larger than CSV or text files. Try the same JPEG resized to about 100 KB, then a multi-megabyte copy, and check the failed request status in the browser Network panel plus the n8n service logs.
On self-hosted n8n, the documented defaults include N8N_PAYLOAD_SIZE_MAX=16 MiB and N8N_FORMDATA_FILE_SIZE_MAX=200 MiB. A reverse proxy can impose a lower request-body limit before n8n sees the upload, so also check the proxy response and its upload setting. If possible, compare one safe local submission directly to the n8n service with the public proxied form.
If a small JPEG fails while an equally sized text file succeeds, please share the HTTP status and the relevant sanitized log line. That would separate a MIME or Form Trigger issue from a size limit and make the next step much clearer.
That 30 KB result is useful. It makes the n8n payload-size defaults very unlikely, and the missing execution suggests the request is failing before the Form Trigger creates a run.
For the next split, open the browser Network panel, submit that exact file, and note the POST status plus any response text. Also re-encode the same image as a real JPEG or PNG, rather than only changing its extension, and retry. If the converted copy works, the likely issue is the original MIME type or image encoding, such as HEIC. If it still fails, compare the proxied form with one safe local request directly to n8n.
A 413 would point back to a request-body limit, 403 or 406 would suggest a proxy or WAF content rule, and a 5xx needs the proxy and n8n service logs at that timestamp. Can you share the failing request status and Content-Type?