-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to load PDF file #256
Comments
i'm having the same issue as well. anyone able to offer a fix here? |
I'm also running into this same issue and would love to get a fix figured out. My PDF displays properly when I view the page within Notion but shows the OP's error message when accessing the public page. |
It must be some update in Notion that messes up how the cloudflare worker script handles the pdfs. But there isn't anything in the script that is specifically about PDFs, so I'm not sure how to diagnose it. |
Ok some progress. Upon consulting ChatGPT, it told me to check for console errors which there indeed were:
Its response The error message: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. Here's how you can address this:
I've been trying to get ChatGPT to write something that works (as I have no experience with javascript or web programming like this) but no luck so far |
The google drive pdf embed you have Nart is a great idea. I had just been having a screenshot of my resume but that is much better 😆 |
Yeah I managed to figure out that it was a CORS issue. As the PDF embed was working before, I think Notion must've changed their CORS policy to not allow a domain other than notion.so to show PDFs uploaded to Notion. The only thing I could think of was just hosting the PDF elsewhere (in my case, Google Drive) and embedding the link instead of uploading to Notion. Not sure that there's any way for Fruition to fix this. Hope that helps @jesenator! |
Same problem here |
Hello, I have the same problem with pdfs and even using Google Drive. 51-3783436a3f5768d6.js:1 Failed to connect to splunk server TypeError: Failed to fetch The same with Brave and Edge. Is there a workaround to solve the problem ? |
On the fruition site none of the PDFs load
When I go to the notion version of the public page the PDF loads fine
For reference:
https://jessegilbert.notion.site/Resume-a6574a6fca8f4edc8ff33e15c06d08f4
https://jessewgilbert.com/resume
My friend's fruition site has the same issue
The text was updated successfully, but these errors were encountered: