GithubHelp home page GithubHelp logo

Comments (5)

Bunlong avatar Bunlong commented on June 21, 2024

@sananguliyev The problem is you haven't allowed origin header on amazon s3. You can follow this guidance to solve this problem. If it works please let me know. Thanks!

from react-papaparse.

sananguliyev avatar sananguliyev commented on June 21, 2024

I already added the CORS configuration to S3. It's an issue on Chrome level. I disabled out of blink on Chrome and it's gone.

Do you have any idea about Refused to get unsafe header "Content-Range" this error?

from react-papaparse.

Bunlong avatar Bunlong commented on June 21, 2024

@sananguliyev Could you please follow this guidance and try the following CORES configuration:

<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
  <CORSRule>
    <AllowedOrigin><!-- insert your origin here --></AllowedOrigin>
    <AllowedMethod>GET</AllowedMethod>
    <AllowedHeader>Range</AllowedHeader>
    <MaxAgeSeconds>3000</MaxAgeSeconds>
    <ExposeHeader>Accept-Ranges</ExposeHeader>
    <ExposeHeader>Content-Range</ExposeHeader>
    <ExposeHeader>Content-Encoding</ExposeHeader>
    <ExposeHeader>Content-Length</ExposeHeader>
    <AllowedHeader>Authorization</AllowedHeader>
  </CORSRule>
</CORSConfiguration>

from react-papaparse.

sananguliyev avatar sananguliyev commented on June 21, 2024

Thanks. I will try to expose headers, too.

from react-papaparse.

Bunlong avatar Bunlong commented on June 21, 2024

@sananguliyev Yes, you are welcome. Thanks!

from react-papaparse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.