We have a project built on Contentful & Next.js, there are certain entries where when we attempt to preview the entry we get “The Function has Crashed” with a 10s timeout. When I view the function log there are only 2 lines. One details the Duration and Memory Usage and the other one just reads ERROR Task timed out after 10.02 seconds.
Is there a way to understand what Function is actually timing out? Or, can we try increasing the timeout?
can you tell me which site this is regarding? if you are on Pro team or higher, we can increase your functions timeout to 26 seconds which should fix the issue you are seeing. Let me know!
Thanks Perry! Just for clarity, does this require a re-build or will it take time to propagate? I’m still getting the 10.02s timeout and just want to be sure.