Skip to main content

All Questions

Tagged with
0 votes
0 answers
12 views

CORS Error Response to preflight request doesn't pass access control check: It does not have HTTP ok status

Hello i've been developing a MERN app, instead of MongoDB is MySQL, so its MySQl ERN app. My site is a simple blog, post blogs with a name, and the content of the blog. So i implemented CORS while ...
mini1012's user avatar
0 votes
0 answers
31 views

Origin type array not working in nextjs-cors

In the official CORS package of nextjs-cors documentation, I see that an array of domains can be passed as origin value: https://github.com/expressjs/cors#configuration-options here is a code snippet ...
Jeesmon Joy's user avatar
0 votes
0 answers
9 views

How to fix CORS blocking maplibre-gl search option from accessing AWS Location Places indexes?

I am working on a ReactJS project where I am implementing a map from maplibre-gl-js. I have connected my app to AWS Location service using Amplify and can receive the Vector tiles from AWS. I cam ...
Byron Ojua-Nice's user avatar
0 votes
0 answers
27 views

How to allow user to download an image using a reactjs button click? [duplicate]

EDIT: What makes this different is that I'm perfectly able to access these resources with the browser using an <img> tag, but can't get the data with a fetch. The 'similar' questions don't ...
lowcrawler's user avatar
  • 7,299
0 votes
1 answer
62 views

Spring Boot and React app CORS errors (Hosted on Azure)

Hi to all that can help me. I've been sitting here for days on end and I can't figure out how to get my Spring Boot and React app working. The frontend is deployed as an Azure Static Web App and the ...
XavierReynolds's user avatar
0 votes
0 answers
15 views

Next js- GraphQl Request is working in getStaticProps on component level but in component itself it's throwing CORS error on localhost [closed]

GraphQl Request is working in getStaticProps on component level but in component itself it's throwing CORS error on localhost. It is the same request, only in different place. I know that ...
Alicja Miotk's user avatar
1 vote
0 answers
26 views

CORS error showing even when the backend access control allow origin is set for frontend url after deployment on vercel

I have deployed my mern app's frontend and backend on vercel on 2 different url's. For backend i have set : app.use(cors({credentials : true , origin : 'https://music-app-client-five.vercel.app'})); ...
Aditya Nagare's user avatar
0 votes
0 answers
27 views

CORS causing my file upload to fail in a kubernetes application with fastAPI and React frontend

I have been trying to get my frontend to work with a fastAPI to upload a file to a database. I keep hitting the CORS issue, have gone through multiple stackoverflow threads but Im still not any closer ...
SSB's user avatar
  • 26
0 votes
1 answer
34 views

Cors confict with 'Access-Control-Allow-Credentials'

I have a Node.js application with a React front-end. I'm working on this application in Project IDX. The CORS configuration is as follows: backend: app.use(cors({ origin: 'https://5173-url-front-...
Jose's user avatar
  • 1
0 votes
1 answer
42 views

CORS Error on https://api.anthropic.com/v1/messages API with Reacrt.js

I am facing CORS issue while integrating 'https://api.anthropic.com/v1/messages', Does anyone solved it? try { const response = await axios.post( 'https://api.anthropic.com/v1/messages', ...
Kshiteej Jain's user avatar
0 votes
0 answers
65 views

ERR_CONNECTION_TIMED_OUT When Making POST Request from React to Azure SQL server

I am encountering an ERR_CONNECTION_TIMED_OUT error when trying to send a POST request from my React application to my SQL Server hosted on Azure. The goal is to add data to an Azure SQL database. And ...
EikkaPine's user avatar
0 votes
0 answers
16 views

Problem with SmartBrain App - Failed to load resource: the server responded with a status of 404 (Not Found)

I'm trying to solve an issue I've been having with my SmartBrain app. I completed the ZTM Web Developer course and completed the app but then had problems using it later on. I keep getting a "...
Brandon Fyall's user avatar
0 votes
0 answers
22 views

NestJS CORS Error It's working well all of a sudden, but an error suddenly occurs

import { NestFactory, Reflector } from "@nestjs/core"; import { Logger, ValidationPipe } from "@nestjs/common"; import { AppModule } from "./app.module"; import { ...
developer-ppang's user avatar
0 votes
2 answers
29 views

How to setup CORS and RequestMatchers to avoid getting 403 forbidden in SpringBoot 3.3

I created a very simple SpringBoot app (pretty much a CRUD) and added JWT auth for users. The requests are all tested with postman and are working fine and interacting with the db without in cloud ...
Juan Felipe Jaramillo Losada's user avatar
0 votes
1 answer
46 views

Method Not allowed 405 not allowing post methods as get methods working

I have created a web api in asp.net web api as all methods work perfectly on localmachine but throguh m siite where i hosted my site on vercel when i call throgh this get methods work ...
Muhammad Yahya's user avatar

15 30 50 per page
1
2 3 4 5
101