CORS issue on accessing image from s3

I am trying to access images from s3 bucket getting attached error.

Access to image at ‘’ from origin ‘http://localhost:3000’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

I tried adding everything from s3 bucket side. And same thing is working from firefox browser but not from chrome and safari. PLease if anyone can help.

Thank You.

Cross-Origin Resource Sharing (CORS) - HTTP | MDN (

1 Like

And Configure and confirm CORS in Amazon S3

Welcome to the forum