My prismic + gatsby website is suddenly failing to build on local, with the following error:
Plugin gatsby-source-prismic returned an error request to https://mascot.prismic.io/api/v2?access_token= $TOKEN_GOES_HERE failed, reason: getaddrinfo ENOTFOUND mascot.prismic.io
Clicking the link with the access_token included pulls up the content explorer interface as expected.
What's hard to understand is why this stopped working suddenly. I haven't changed the codebase or upgraded any packages or even done a major macOS update (currently on 11.6 Big Sur). Deploys on Netlify are continuing to work as well.