Gatsby StaticQuery stopped working

Hi Guys,

I have a Gatsby site that has been running fine up until Friday 24th July. Now I am getting the below error. If I refresh the page the query resolves. The site works fine when I run it locally in dev. If anyone is experiencing something similar I would love some advice.

Error: The result of this StaticQuery could not be fetched.

This is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in
    at h (gatsby-browser-entry.js:77)
    at b (SiteLinks.js:9)
    at Ki (react-dom.production.min.js:153)
    at Fa (react-dom.production.min.js:175)
    at vo (react-dom.production.min.js:263)
    at cu (react-dom.production.min.js:246)
    at ou (react-dom.production.min.js:246)
    at Zo (react-dom.production.min.js:239)
    at react-dom.production.min.js:123
    at scheduler.production.min.js:19

Netlify site name: pensive-galileo-93ca02


hi there, that’s frustrating. Did you reach out to gatsby as described in the error message? Seems like it is a bit of a known issue :thinking:

I had the same problem. I updated all my npm dependencies and that fixed it.

1 Like

Hi, @willmcl. Thank you for sharing this solution here!