ERROR Failed to init Prismic API, preventing app fatal error

Hi, im using nuxtjs to build a website and I am having this error when trying to connect to prismic api:

ERROR request to ...cdn.prismic.io/api/v2 failed, reason: connect ETIMEDOUT

ERROR Failed to init Prismic API, preventing app fatal error

I saw that someone had a similar issue but it was closed by inactivity.

This is urgent since it prevents me to open my app locally, I would appreciate a reply as soon as possible.

Hello,

Thanks for reaching out to us.

I need more information:

  1. Are you getting this error the first time with your project? If not, try clearing the cache and running your project again.
  2. I need your repo name and project source code to run and troubleshoot the project locally. You can send me a private message, though.

Thanks,
Priyanka

Hi Priyanka,

It was the first time getting this error, however, I tried it again today and it seems to be working perfectly fine!

Thanks for the response,
Alejo

@alejo, I am glad that it's working for you. Let us know if you have any other questions.