# Module timed out

**URL:** https://community.make.com/t/module-timed-out/47019
**Category:** Questions
**Tags:** error
**Created:** [July 20, 2024, 6:44pm UTC](https://community.make.com/t/module-timed-out/47019 "2024-07-20T18:44:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Discover\_AI](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@Discover\_AI](https://community.make.com/u/Discover_AI)
#### Post date: [July 20, 2024, 6:44pm UTC](https://community.make.com/t/module-timed-out/47019/1 "2024-07-20T18:44:39Z")

</div>

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?

 ![Screenshot 2024-07-20 at 20.38.49](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/a/f/aff4ae26cb279cec9ddb79da953cc52b87a39144.png)

---

<div class="post-metadata">

### Author: ![ManishMandot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/manishmandot/32/25887_2.png) [@ManishMandot](https://community.make.com/u/ManishMandot)
#### Post date: [July 20, 2024, 7:25pm UTC](https://community.make.com/t/module-timed-out/47019/2 "2024-07-20T19:25:26Z")

</div>

Hey @Discover_AI

This thread can help you.

> [@Elevenlabs module times out when API doesn't....way to fix?](https://community.make.com/t/elevenlabs-module-times-out-when-api-doesnt-way-to-fix/19312/3):
>
> Hi @Satchel, the HTTP modules have a maximum timeout of 300 seconds while modules timeout after 40 seconds if not specified differently. You might reach out to support and tell them that the module runs out very regularly (I guess for AI it’s fair to assume that some actions take longer than 40seconds) and if they’d be open to increasing the timeout of the module.

---

<div class="post-metadata">

### Author: ![Donald\_Mitchell](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/donald_mitchell/32/8749_2.png) [@Donald\_Mitchell](https://community.make.com/u/Donald_Mitchell)
#### Post date: [July 21, 2024, 6:33am UTC](https://community.make.com/t/module-timed-out/47019/3 "2024-07-21T06:33:21Z")

</div>

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](https://craftmypdf.com/docs/index.html#tag/PDF-Generation-API/operation/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!

---

<div class="post-metadata">

### Author: ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)
#### Post date: [October 19, 2024, 6:38am UTC](https://community.make.com/t/module-timed-out/47019/4 "2024-10-19T06:38:28Z")

</div>


