loadDocument error

I find this error when provided PDF data URL inside instance.loadDocument() function

Access to fetch at ‘’ (redirected from ‘https ://firebasestorage.googleapis.com/v0/b/pdf-sign-react-cf85f.appspot.com/o/docToSign%2FCeQvMWQ1Sme7n7T9RlELokITemC31648624488036.pdf’) from origin ‘http://localhost:3000’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:



Looks like it’s related to the configuration of the firebase storage. Please take a look at the following links and see if they’re helpful with resolving the issue.




I got the same error for cloudinary, and I checked well that cloudinary link cause no CORS issue…
The problem is coming from the redirection

Access to fetch at ‘’ (redirected from

So is that link for your local server? Not sure why it’s redirected from the firebase.