Skip to main content

All Questions

Tagged with
0 votes
0 answers
22 views

Python Serverless Function exceeds the unzipped maximum size of 250 MB (Vercel)

I am attempting to deploy my NextJS/Flask application to Vercel, but I keep encountering an error stating "A Serverless Function has exceeded the unzipped maximum size of 250 MB." This error ...
John Flickinger's user avatar
0 votes
0 answers
24 views

Django ModuleNotFoundError in Vercel production

I'm trying to deploy an api on vercel in Django, however when I call my api I get an error that a module does not exist. I don't get this error locally. I've tried several solutions: adding a route ...
Thomas A's user avatar
0 votes
0 answers
17 views

Deploying Vercel Python app, but still returning 404 error

Trying to deploy my application to Vercel, but its giving a 404: NOT_FOUND Code: NOT_FOUND Here is my vercel.json: { "version": 2, "builds": [ { "...
Ansh Ajit's user avatar
-1 votes
1 answer
37 views

Issue between Werkzeug (dependency of Flask) and Vercel when trying to build webapp

I'm trying to deploy a Flask app using Vercel and I'm getting an error during the build that reads as follows: [Error: ENOENT: no such file or directory, lstat '/vercel/path0/werkzeug/__pycache__/...
Ajaya Ramachandran's user avatar
0 votes
1 answer
37 views

Vercel Error 'FUNCTION_INVOCATION_TIMEOUT' when making POST request from Flask Application

The Problem Whenever I try to make a POST request to send an email using SMTPlib through my Flask web application hosted in Vercel I get the following error message FUNCTION_INVOCATION_TIMEOUT. The ...
Oscar Bejarano's user avatar
0 votes
0 answers
63 views

Flask & FastAPI in a single app on Vercel

I wanted to make a website using flask and fastapi So here's what i ended with : import uvicorn from starlette.middleware.wsgi import WSGIMiddleware from starlette.applications import Starlette from ...
Lande's user avatar
  • 1
0 votes
0 answers
28 views

NextJS Vercel Application is able to call localhost python webbapplication

So I have a Vercel Deployed Application based on nextjs. I also have another python flask application that i have deployed on vercel. But it is not running on vercel as of now. Only locally... So ...
Artulo's user avatar
  • 7
1 vote
0 answers
37 views

How do I increase the timeout for my Vercel Flask Python app serverless function?

So, I have a serverless function that is running Python Flask, but I get hit with the FUNCTION_INVOCATION_TIMEOUT, and I don't know how to increase the timeout. My code is stored in App.py, but I am ...
Seismic's user avatar
  • 11
0 votes
0 answers
41 views

ModuleNotFoundError: No module named 'pkg_resources' in vercel

I am trying to deploy a DRF Api on vercel, I tried upgrading setuptools and everything that I found on net but still not able to get it to work I am using python3.10.13 vercel.json { "builds&...
Suyog Mahajan's user avatar
0 votes
0 answers
45 views

Problem in Deploying Python (Flask app) on Vercel

from flask import Flask, render_template, Response, jsonify, request, redirect, url_for import cv2 import cvzone from cvzone.HandTrackingModule import HandDetector import time import random It's Rock,...
Nova_Strike07's user avatar
0 votes
0 answers
36 views

a status of 404 () when deploying to Vercel

I keep running into the 404(sometimes 405 on Vercel. My project is running perfectly fine locally. The live preview is live Front end + back end code here repo The error message is: enter image ...
JJS's user avatar
  • 1
0 votes
0 answers
20 views

Vercel with Python and Flask, subdomains

Sooo what I'm trying is to add subdomains to my main domain on Vercel app with Python and Flask, and I was researching info for this, so my actual server is working like this: api.example.com with ...
coden0w's user avatar
  • 31
1 vote
1 answer
73 views

Error in vercel while uploading a django app

While trying to upload my Django application I got these errors requirements.txt error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully Error: Command ...
Abdulqadir Mahmood's user avatar
2 votes
1 answer
561 views

How can you specify python runtime version in vercel?

I am trying to deploy a simple FastAPI app to vercel for the first time. Vercel.json is exactly below. { "devCommand": "uvicorn main:app --host 0.0.0.0 --port 3000", "...
agongji's user avatar
  • 181
1 vote
1 answer
385 views

How to deploy a PostgreSQL database for Flask App on Vercel?

I deployed my Flask App on Vercel. But I can't find any StakOverflow answers or YouTube tutorials on how to connect my PostgreSQL database to the app on Vercel. I am reading the documentation but it ...
Deepti Sheoran's user avatar

15 30 50 per page
1
2 3 4 5
8