Home
Support Forums

Gatsby - first deployment - error page-data/undefined/page-data.json

Hello,

it’s my first Gatsby site (www.instinct-reflexes.fr - trusting-einstein-c68f09.netlify.app) and first deployment on Netlify and I get this error in my console :

prefetch.js:37 GET https://www.instinct-reflexes.fr/page-data/undefined/page-data.json net::ERR_ABORTED 404
(anonymous) @ prefetch.js:37
a @ prefetch.js:17
(anonymous) @ prefetch.js:71
u @ prefetch.js:65
n.doPrefetch @ loader.js:452
e.prefetch @ loader.js:361
enqueue @ loader.js:521
n @ index.js:195
(anonymous) @ index.js:107
(anonymous) @ index.js:100

Yet the site works correctly.

On trusting-einstein-c68f09.netlify.app the error is a little different but seems related:

Failed to load resource: the server responded with a status of 404 () page-data.json:1

Thanks for any help on this!

Regards,

David

That’s how Gatsby works. This is normal. If you search online for Gatsby page-data.json 404, you’d find many people reporting it. Here’s an example: https://github.com/gatsbyjs/gatsby/issues/16097.

By the way, your custom domain won’t load for me. I get NXDOMAIN error.

1 Like

Hi Hrishikesh,

thanks for the quick reply!

Indeed, I have opened another ticket for the custom domain problem.
I think I didn’t set the DNS correctly but I have still hopes :slight_smile:

Best regards,

David