So, shortly after posting this question, I ran across this issue on Github. It apparently has to do with using CORS.
The suggested work around was adding Access-Control-Expose-Headers:Content-Disposition
to the response header on the server.
This worked!
More Related Contents:
- No ‘Access-Control-Allow-Origin’ header is present on the requested resource—when trying to get data from a REST API
- How do I cancel an HTTP fetch() request?
- How do I upload a file with the JS fetch API?
- How can I download a file using window.fetch?
- What limitations apply to opaque responses?
- How can I fetch an array of URLs with Promise.all?
- Fetch API request timeout?
- Fetch: reject promise and catch the error if status is not OK?
- Internal API fetch with getServerSideProps? (Next.js)
- What is difference between Axios and Fetch?
- JavaScript, make a POST with JSON data with fetch()
- try..catch not catching async/await errors
- Fetch API vs XMLHttpRequest
- React useEffect causing: Can’t perform a React state update on an unmounted component
- fetch gives an empty response body
- Chrome – Fetch API cannot load file. How to workaround?
- How to use FormData in react-native?
- redux fetch body is not use with no cors mode
- fetch() does not send headers?
- How to handle HTTP code 4xx responses in fetch api
- Basic authentication with fetch?
- Relative paths with fetch in Javascript
- How do I download a file from FastAPI backend using Fetch API in the frontend?
- React cannot read property map of undefined
- JavaScript fetch – Failed to execute ‘json’ on ‘Response’: body stream is locked
- How to make javascript fetch synchronous?
- set withCredentials to the new ES6 built-in HTTP request API : Fetch
- Slack incoming webhook: Request header field Content-type is not allowed by Access-Control-Allow-Headers in preflight response
- FastAPI returns “Error 422: Unprocessable entity” when I send multipart form data with JavaScript Fetch API
- Cannot Upload File to FastAPI backend using JavaScript Fetch API in the frontend