-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Notion Image do not load #463
Comments
Did you add allowed image domains in next site config? |
@heypratik It was working without this image domain, is there any upgrade or dependency introduced which caused this issue? |
It fixed for me when I added |
still not work for me. |
I am facing the same problem. Images on my blog do not show and when I try to access the src from browser it raise {"message":"Something went wrong."}. |
I have the same problem, the domain of the image is "file.notion.so" and when I access that image URL, it always returns {"message":"Something went wrong."} |
same issue here. any update here? this is a pretty big issue IMO. It seems to only be private page images |
@0xFloyd I didn't change anything and now its working as usual. |
It works for now |
notion using Amazon’s cdn,its‘ period time is about one day(24hours),the static resources like src in html only Effective within 24 hours |
I wanted to set static resources cnd cache lessthan 24hours,so that images' url can be valid,but I failed;Then,you can set a schedule task(less than 24 hours) to redeloy your project ,so that can refresh static resources |
If you deployed on local,see this #463 (comment) you deployed on vercel,I can explain why notion image can't load ? Vercel using next.js as Server render, For free personal,the timeout of function getStaticProps with limited in 10s,if some request timeout,it would use resource which last compiled (hold old timeStamp image url);seeing this |
How did you guys solve it? I'm facing the same thing it only works when I refresh the page or switching the light mode, but it never works the first time you visited it, such a bad user experience : ( And when I open it in new page, it shows:
|
Getting something similar in my deployment recently. I wonder if Notion changed some header in their image responses? |
Description
Image do not load up and throw {"message":"Something went wrong."} error.
Notion Test Page ID
bd999537dba44d68be67cbcf11ee6199
The text was updated successfully, but these errors were encountered: