Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
0 answers
42 views

Using Prefect with FastAPI is still displaying old logs

I tried using Prefect with FastAPI project. Then when I updated logs and redeployed the repo as well as Prefect deployments and flows. It runs and displays the logs (Basically , Prefect is still ...
1 vote
1 answer
42 views

`BackgroundTasks` only execute when declared inside an async dependency

I’m running into strange behavior in FastAPI where my BackgroundTasks only execute when declared inside an async dependency. No exception is raised, the route returns normally, but the background job ...
0 votes
0 answers
23 views

How to mock multipart/form-data with pytest?

I have a POST endpoint with fastapi that goes a little like this. This takes in an excel file and turns it into a pandas dataframe. @router.post( "/endpoint/upload_excel", status_code=status....
-5 votes
0 answers
73 views

vercel FastAPI: This Serverless Function has crashed [closed]

I have deployed the FastAPI on Vercel, but when hitting the endpoint, it's failing I have pasted vercel.json and error logs below Below is the vercel.json config { "version": 2, "...
0 votes
0 answers
30 views

FastAPI: PDF upload works when called directly inside Kubernetes or locally, but results in blank files when routed through API Gateway/NGINX

I’m running a FastAPI service in Kubernetes that accepts multipart/form-data uploads and stores files in S3. The upload endpoint works fine when I call it directly inside the cluster using the service ...
0 votes
0 answers
45 views

Azure Functions (FastAPI - AsgiFunctionApp): Logs appear in Application Insights but not in Invocations tab — Category issue?

Problem Summary I'm using AsgiFunctionApp to wrap FastAPI in Azure Functions, but my application logs are not appearing in the Azure Portal's Invocations tab. The logs do appear in Application ...
0 votes
0 answers
22 views

Perform Google login in react native app with own API

I am developing a mobile application using React Native. In this phase I am trying to connect it to my APIs (made using FastAPI with Authlib) to perform authentication with Google. I do not know if I ...
-1 votes
0 answers
31 views

Vercel AI SDK without NextJS? [closed]

I am building a RAG chat using openai API. This is my first "bigger" web side-project. I started off with React/Vite and FastAPI. For search I use OpenSearch on docker. But still rn ...
0 votes
0 answers
20 views

Soul Machines Orchestration servers Query format

I'm working on integrating my custom RAG into Soul Machines avatar to make the conversations of avatar according to my RAG Database. I'm connecting RAG with soul machines using orchestration server(...
0 votes
1 answer
48 views

Pytest 404 status codes on some FastAPI tests

I have a FastAPI router that I am trying to run some unit tests on using pytest. 7 of the 8 tests pass, but 1 keeps returning a 404, and failing the assertion to check the status_code == 200 (it is ...
0 votes
0 answers
37 views

uv lock produces duplicate [package.optional-dependencies] table headers when project depends on fastapi[all] [closed]

I am changing from pipenv to uv. I am using fastapi[all] in my pyproject.toml. When I run uv lock in the CLI the uv.lock file is created, but with several package.optional-dependencies which leads to ...
1 vote
0 answers
47 views

Error 401 when authenticating with Bearer to fastapi_users

I don't understand what the problem is. Everything seems to be working fine. I've included all the code below. My code structure is like this: service.py import uuid from typing import Optional from ...
3 votes
1 answer
90 views

How to design a payment acquirer API wrapper (E-Rede, Cielo, or CGNet) abstracting transaction and tokenization routes?

I’m working on a project that will consume the API of a payment acquirer — for example, E-Rede, Cielo, or CGNet — depending on the environment or client configuration. These acquirer APIs typically ...
1 vote
1 answer
137 views

DeprecationWarning 'HTTP_422_UNPROCESSABLE_ENTITY' is deprecated. Use 'HTTP_422_UNPROCESSABLE_CONTENT' instead

I'm working on AWS EC2. I created a virtual environment and installed all the necessary dependencies. I connected to it via VSCode, and when I try to start the server using the airflow standalone ...
0 votes
0 answers
85 views

React + FastAPI in Docker: Frontend 404 / "Failed to fetch" while backend works via curl [closed]

I’m running a React frontend (served via Nginx) and a FastAPI backend inside Docker Compose. Everything works fine when I test the backend directly using curl: curl http://localhost:3301/api/settings/...

15 30 50 per page
1
2 3 4 5
...
493

AltStyle によって変換されたページ (->オリジナル) /