{"id":8,"hash":"480ea4ee846f1b7bd1af520beea4f78438234025f1d41a34d91c066b2afd52d0","pattern":"CORS policy: No 'Access-Control-Allow-Origin' header","full_message":"Access to fetch at 'https://api.example.com' from origin 'http://localhost:3000' has been blocked by CORS policy","ecosystem":null,"package_name":null,"package_version":null,"solution":"CORS must be configured on the **server**, not the browser.\n- Express: `app.use(cors({ origin: 'http://localhost:3000' }))`\n- FastAPI: `app.add_middleware(CORSMiddleware, allow_origins=[...])`\n- In development you can proxy the API through your dev server.\nA browser extension that disables CORS is NOT a fix.","confidence":0.92,"source":"community","source_url":null,"votes":20,"created_at":"2026-04-19T02:03:59.589562+00:00","updated_at":"2026-04-19T02:03:59.589562+00:00"}