I try to use ISR feature.
I return
return {
paths: [],
fallback: 'blocking',
}
in getStaticPaths()
I expect that no pages will be generated. And all pages will be generated, once I will open them the first time
https://64affd537fb99d0008b210e8--simplot-foods-develop.netlify.app/recipe/unicorn-salad-with-purple-glitter-dressing
But instead of page, I get the next message:
This function has crashed
An unhandled error in the function code triggered the following message:
2023-07-13T14:45:30.537Z 82d647a6-356e-4071-b8d1-eca56ad5cff7 Task timed out after 10.01 seconds
Connection details
Netlify internal ID: 01H57VDATYCAEH13T1FBPN3WRV
During SSG build, page is built less than 1 second.
So, I want to understand what function takes 10+ seconds to change/fix it and I click on Site owners: Review the function logs for more info.
link.
But logs page is broken:
Is ISR supported for Deploy Previews?
How to troubleshot this issue and access function logs? (I want to see logs for Next.js ISR handler
function on certain branch)
Is there something that I am doing wrong?