I am running a simple web service in python using Flask, and I set Cross-Origin Resource Sharing (CORS) for my web app, the error is thrown when I used cors = CORS(app)
cors = CORS(app)