Module timed out

Hi guys, after a few runs my make scenario is timing out on the same module every time, I know the maximum length of a scenario is around 40 minutes but is there a max time for a single module? How can I fix this?

Hey @Discover_AI

This thread can help you.

1 Like

This isn’t built-in to Make, but if you use CraftMyPDF Make an API Call, you can create documents in async mode using the create-async endpoint.

The module should return immediately while the PDF creation works in the background.
You can specify a call-back URL (a Make Webhook as the trigger in a separate scenario) when it’s done creating the document. Use that as a point to break your scenario into two scenarios.
Scenario 1 - Begin generating the PDF
Scenario 2 - Continue the remainder of the scenario because now you know the PDF is finished.

When initiating create-async from Scenario 1, just be sure you include the relevant query string parameters from the webhook in the callback URL.
When CraftMyPDF finishes the PDF and performs the call-back, it should include everything you provided in the callback URL in addition to info about the PDF which should give you everything you need to finish running your process.

Hope that makes sense and hope it helps!

1 Like