Hi there support crew,
My team and I are running into occasional
/api/v2 outages when attempting to create a new instance of the Prismic JS client.
We're using Nuxt as well as the @nuxtjs/prismic module.
Both locally and on our Netlify build pipeline, we're seeing this error:
[error] request to https://<repository_name>.prismic.io/api/v2 failed, reason: connect ETIMEDOUT 18.104.22.168:443
...which in turn causes the client instance to not be created, leading to further errors:
[error] Failed to init Prismic API, preventing app fatal error.
TypeError: $prismic.api.getByUID is not a function
Please let me know if I can supply any additional information!