PDF Embedder Documentation

Documentation, Reference Materials, and Tutorials for PDF Embedder

Error: Failed to Fetch and GoDaddy Hosting

The Failed to Fetch error occurring on GoDaddy may be a recent problem for your site that had previously worked without issue. This is due to the new CDN that GoDaddy has implemented on their hosting packages.

The cause of the issue is that GoDaddy is trying to redirect the document loading through secureservercdn.net which is resulting in a “No Access-Control-Allow-Origin header” error. The first step would be to set up a CORS rule for the CDN. The following documentation has the required information needed to permit access for the document to be loaded from a CDN: https://wp-pdf.com/kb/hosting-pdfs-on-other-services-such-as-amazon-s3/.

Once you have the CORS set up correctly, this should resolve the Failed to Fetch error depending on how the CDN for your account is set up. If not, you should next have GoDaddy support create a Post Processing rule to stop anything going to .pdf to remain with the domain and URI path.

This procedure has worked successfully for other users hosting with CDNs.

Alternatively, if you do not need the CDN, you can simply disable that in your hosting settings:
GoDaddy_CDNdisable.jpg

Still have questions? We’re here to help!

Last Modified: