This is a very beginner level mistake I would say please check your CORS origin list carefully.
Make sure your frontend and backend domain matches properly, for example http://localhost:9000
and http:127.0.0.1:9000
is not same according to the cors origin list. Also there should be no slash at the end of your domain.
origins = [
"http://localhost:3000", # React frontend
"http://127.0.0.1:3000"
]
For safety reason do something like this ->
origins = [
"http://localhost", # React frontend
"http://127.0.0.1", # React frontend
"http://localhost:3000", # React frontend
"http://127.0.0.1:3000" # React frontend
]