Python Flask hosted in Vercel

I have this issued:

LAMBDA_WARNING: Unhandled exception. The most likely cause is an issue in the function code. However, in rare cases, a Lambda runtime update can cause unexpected function behavior. For functions using managed runtimes, runtime updates can be triggered by a function change, or can be applied automatically. To determine if the runtime has been updated, check the runtime version in the INIT_START log entry. If this error correlates with a change in the runtime version, you may be able to mitigate this error by temporarily rolling back to the previous runtime version. For more information, see Understanding how Lambda manages runtime version updates - AWS Lambda
[ERROR] Runtime.ImportModuleError: Unable to import module ‘vc__handler__python’: No module named ‘distutils’
Traceback (most recent call last):

What should I do?

Hi @mark-baumann. I’m not sure exactly what’s going wrong in this case, but I have some resources that have helped people with similar errors in the past.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.