This error originates from Make.com. Make.com has a 5-minute limitation for every module on their platform.
To fix this issue, please try this guide to process large files https://pdf.co/process-large-files-integromat-using-custom-api-call-action
Basically, you only need to add a delay and another step to check the job status. Feel free to change the delay time that best suits the time it needs to process the job.