Hey @andrewing!
It’s very possible that your function is not able to complete its work in 10 seconds, or it needs more memory than is available.
Functions timeout after 10 seconds, and are limited to 1024mb (1 gb) of memory by default. They are deployed to AWS Lambda in their
us-east-1
region. Some modules, for example, Headless Chrome , require the whole 1gb of RAM! There are custom settings available (up to 26 seconds runtime and 3Gb memory) which you’ll need to contact our support team - please post in the Admin area of this forum to get our attention for this.
Can you check your function logs and see if there’s any information there about duration or memory usage? Those will be here:
Also wanted to share this post on MongoDB in case it’s helpful for you: