Hi,
I’m debugging a FastAPI Preview deployment that is successfully built and marked Ready, but the Python function fails during invocation before any runtime/application logs become visible.
Deployment ID: dpl_7A7TrCZhSWGd4ryf1eSntFNhsNQA Request ID: gru1::8mqgk-1790208339168-d6585638b66e Request: GET /health HTTP status: 500 X-Vercel-Error: FUNCTION_INVOCATION_FAILED Runtime: python3.13
The cloud build completed successfully and Vercel selected Python 3.13 from .python-version.
We reproduced the failure while vercel logs --follow --json was already active. The single GET /health returned HTTP 500 again, but the live log stream produced 0 runtime events and no traceback.
We also queried the existing deployment logs afterward and found no runtime traceback for the failed invocation.
Vercel’s preliminary support response indicated that this behavior is consistent with a failure during cold-start initialization/module evaluation, before the ASGI application and user-visible logging are initialized. However, the actual underlying exception is still unknown.
Could a Vercel team member please check the internal platform telemetry for the Request ID above and provide, if available:
the underlying Python exception or container exit reason; the internal traceback associated with this invocation; whether the failure occurs while importing/evaluating the FastAPI entrypoint, before the ASGI app starts; why no runtime log event is emitted for this failed invocation.
We have intentionally not redeployed or modified the source/environment because we want to identify the actual failure before making changes.
Thanks.