The "file" argument must be of type string. Received undefined ERROR

The "file" argument must be of type string. Received undefined ERROR

I was getting the following error when I try to deploy my python functions.

 catalyst deploy --only functions
⚠ skipping deploy of target [authorization_portal_function] since The "file" argument must be of type string. Received undefined

✖ functions: deploy skipped

✖ No components deployed!

After struggling for an hour, I figured out the reason for the error was that I had Python 3.11 instead of Python 3.9. After I install python 3.9, the error went away and the functions deployed successfully.

The error message was not very clear and my search on the internet did not yield any useful information. So, I am posting it here for anyone else who may run into the same issue.
    • Announcements

    • Introducing Catalyst 3.0: The agent-ready full-stack cloud!

      Hi everyone! Catalyst 3.0 is here, bringing a major shift in how you can build and ship applications on Catalyst. With MCP connectors, agent skills, native agent plugins, a non-interactive CLI, zero egress, and 30+ services unified on one platform, Catalyst
    • [Webinar] Build smarter HR - Payroll Automation

      If your HR and payroll teams are still relying on manual exports, spreadsheet reconciliations, or constant back-and-forth coordination to keep employee data aligned, this session is for you. We’re hosting a live webinar featuring Kyle Ferrara , CTO of
    • [Webinar] How Raptee.HV accelerates its EV platform

      Curious about how EV platforms work behind the scenes? What does it actually take to run an EV platform from onboarding users to managing connected vehicles and deploying updates seamlessly? In this session, Raptee.HV shares how their platform is built
    • [Webinar] Deploy Docker apps with AppSail's custom runtime | Feb. 19

      Hi everyone, Join us on February 19, 2026 at 8–9 PM IST for a live Catalyst webinar demonstrating how to deploy OCI-compliant Docker images with AppSail's custom runtime. You’ll learn how to: Package your apps as Docker containers Deploy via CLI or connect
    • Catalyst backs Vite.js!

      Hi everyone, We're happy to support the open-source ecosystem that powers modern web development! If you’re building apps with Vite, Catalyst Slate is your go-to platform to deploy blazing-fast frontend apps with ease, scalability, and zero infrastructure

      Catalyst Community