Hi @snudi31,
Thanks for reaching out, and I’m so sorry about the inconvenience.
The “Failed to Fetch” error usually occurs when the PDF you are trying to embed is hosted on a different domain or sub-domain than the site where it is being displayed. For example, if your site is hosted at https://domain.com and the PDF is from a different domain or sub-domain, such as https://site.com or https://www.domain.com, this error will be triggered.
If you’re using an SSL certificate, ensure that both the front end and back end of your site are using the same protocol (http vs. https). Any mismatches, such as between https://www.domain.com and domain.com, can also cause this error.
These issues need to be resolved at the server or WordPress installation level. For more detailed information, please refer to our article: Failed to Fetch Error.
If your PDFs are hosted on a CDN like Amazon S3, you may need to configure CORS (Cross-Origin Resource Sharing) to meet browser security requirements. Instructions for setting this up can be found here: Hosting PDFs on Other Services.
I hope this clarifies the issue. If you have any further questions, please feel free to let me know.
Thanks ??