Skip to main content

All Questions

0 votes
1 answer
13 views

CORS error accessing file in S3 from Serverless Framework deployment

I have a project based on a template using Serverless Framework to deploy a react app served from an S3 bucket. The serverless deploy works fine, creates the CloudFormation stack, creates the S3 ...
gbryant's user avatar
  • 771
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
21 views

Getting CORS error in AWS (Cloudfront distribution + S3 setup)

Earlier I was accessing this cloudfront distribution from one repo, localhost:4000, and from stage env. It was all working fine. I set up a new localhost localhost:4800 and tried accessing the same ...
Deepak Negi's user avatar
1 vote
0 answers
19 views

CORS pre-flight request issue when using API custom domain names

I have been stuck on this issue and it's driving me mad - for a bit of context, I'm trying to lodge a signin request from my front-end through my AWS API Gateway to a lambda function, which generates ...
volgarock's user avatar
0 votes
0 answers
38 views

CORS ERROR - I cant POST from a Local Website to my Lambda AWS REST API

I am developing a IoT project in which i use an ESP32 to connect to the AWS MQTT Broker, i get some readings (is a smart parking) and generate some simple DynamoDB tables, I want to deploy an API to ...
Diego Párraga V.'s user avatar
0 votes
0 answers
31 views

S3 Hosted Website and API CORS ERROR "Response to preflight request doesn't pass access control check"

I have a very light application that I am putting up on AWS. An API with PUT and OPTIONS methods that uploads files to S3. The API works correctly when run via POSTMAN, Python requests, and CURL on ...
Stephen Strosko's user avatar
-1 votes
0 answers
18 views

AWS API Gateway returning CORS error even if enabled [duplicate]

I'm calling an API to my AWS API Gateway and I'm getting a CORS error, not sure why as I have all the CORS parameters enabled. The error from the browser console: The code: The AWS API Gateway ...
Farid Arbai's user avatar
0 votes
1 answer
21 views

CORS Access-Control-* headers dropped from AWS Cloudfront Signed URL serving S3 bucket data on a custom domain

I'm serving static content from an S3 bucket via a signed url from Cloudfront that is redirected from my REST API using a 302. I'm trying to retrieve that content via my frontend web app and I'm ...
Garbit's user avatar
  • 5,996
0 votes
1 answer
28 views

AWS Lambda / CRUD operations gateway blocked by CORS policy problem

I am trying to implement CRUD opretaions to my Lambda with API Gateway, you can see the implementations of my tools and the error. Even the headers are matched correct I still get the access errors ...
Onur Serbes's user avatar
0 votes
0 answers
53 views

CORS Pre-flight won't work on AWS API Gateway

Have been struggling with CORS issues for a week or more. I believe everything is configured correctly but yet still I cannot make it work. Am making an API call from a web page (hosted via AWS ...
Sputnik7623's user avatar
0 votes
0 answers
39 views

blocked by CORS policy AWS 2 processes in one container python flask-cors

I have 2 processes running in 1 Docker container. A frontend and a backend. While the docker container is running properly in my computer, when deploying in aws ecs I get the following error: Access ...
Stylianos Nikas's user avatar
1 vote
1 answer
61 views

Unable to upload PDF to S3 bucket via presigned URL created from my Node backend

Scenario: Client (Nextjs client component) queries backend (NextJS rest endpoint) for pre-signed URL Backend gets presigned URL for S3 via getSignedUrl import { S3Client, PutObjectCommand } from &...
James111's user avatar
  • 15.8k
0 votes
0 answers
27 views

Problem using VTL code in AWS CLI's response-templates

I'm trying to specify Velocity Template Language (VTL) code using the --response-templates option while creating a resource in API Gateway with AWS CLI. However, when I run the command, I'm getting ...
Nedim Alnıaçık's user avatar
0 votes
2 answers
173 views

'http://localhost:3000' has been blocked by CORS

I've been trying to connect my react .js file to the back end. I have a API in API Gateway and I created a method and enabled CORS and gave it access method.response.header.Access-Control-Allow-...
Keerthi chowdary Gogineni's user avatar
0 votes
0 answers
38 views

Handle Cors from lambda to cloudfront or s3

I am trying to create an auth service where I have a lambda that is using keycloak to authenticate an user via password grant. The service consists of a react front-end host on s3 and accessed via ...
Millroy Fernandes's user avatar

15 30 50 per page
1
2 3 4 5
31