Flow execution fails on PDF upload

Using the activepieces form connector as a trigger, I created an automation that receives a pdf and carries out operations on it. On uploading a pdf to the forms, it fails and sends an error notification saying “The flow failed to execute.” On investigating through the network tab, I see its a Cloudflare error “Web server is returning an unknown error Error code 520”

Hi @Victor2001

How large are the PDF file?

Varies. But the one I used to test the flow was about 10mb. Its a document or report containing data that needs extraction.

It’s currently a technical limitation. I believe the limit is around 3 MB, plus or minus, unfortunately. The workaround is to send a link. The flow itself can process large files, but it won’t be able to store them.

In your case, the trigger has a large file (sent as base64), so it tries to store it first and then send it to the queue. However, it fails to store the file because of its size. That won’t be an issue if you can send a URL instead.

We are working to address this issue in the next two weeks and figure out how to handle it properly. I don’t have a solution yet.

Thank you very much for the prompt response! I will look into ways to make it receive link instead.