Hi everyone,
I have an image in my NextJS public folder which I am using for emails made with React Email. The link to the image on one of my preview deployments is https://seller-flow.preview.purelylocal.co.uk/purelylocal.png which works fine.
When viewing the email in gmail the image is broken and when I inspect and grab the proxied google image link it returns a 404 https://ci3.googleusercontent.com/meips/ADKq_NYY3aA3OJITMBMBn-DwaPYkPbJYy68be50fgRK6ua_6Mf_0oA855QthY8q750SdCiIMkLQqeE02B9-P7DcV99xLEzb8ZLXj_iEts7yFmMh6xh8B=s0-d-e1-ft#https://seller-flow.preview.purelylocal.co.uk/purelylocal.png
Does anyone know why this might be happening and what I can do to stop it? I can only guess it’s to do with how Vercel handles requests from googles user content request.
system
(system)
February 16, 2025, 12:02am
2
There’s another community post with 404 debugging tips that might be helpful. Please give these solutions a try and let us know how it goes.
Sometimes things don’t go as expected when deploying a website. If you see a 404 on your site, that means the page or resource couldn’t be found.
There are many possible causes, and the absence of something can be tricky debug if you don’t know where to look. Here are some things you can do to find the cause and fix it.
Debugging Tips
Check the error code
If you see a mostly white screen with 404: NOT_FOUND along with a Code and and ID then you can click the blue info box below the error deta…
A human should be around soon to offer more advice. But you can also get helpful information quickly by asking v0 .
anshumanb
(Anshuman Bhardwaj)
February 17, 2025, 8:13am
3
Hi @mickybizzle , welcome to the Vercel Community!
The link you shared here, seems to be a preview deployment that’s protected by the Deployment Protection on Vercel . Hence, only you or your team members can access this deployment (and the image).
I’d recommend promoting the deployment to the production environment and using that link in the email.
I hope this was helpful.
1 Like