title: How to debug or handle Vercel FUNCTION_INVOCATION_FAILED error?
body: <p>I got this error from Vercel. It pop up at random times and pages when I am navigating. There are no error raised in browser console. Vercel logs only build time error, so no info there also.</p>
  <p>Maybe Vercel or Next.js is short in memory? These navigation works mostly, 'function invoication failed' error happens rarely. Like a ghost.</p>
  <p><a href="https://i.stack.imgur.com/ZeAW8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZeAW8.png" alt="enter image description here" /></a></p>