Build Error (fetch failed at Object.fetch)
Unanswered
fek posted this in #help-forum
fekOP
I got such an error in my console while building in the Next.js project. I tried it in Vercel but it gave an error there too. Does anyone know how to fix it? Can you help me?
I think it's because I use api in next.js, but it didn't give such errors before, what do you think I'm doing wrong?
I think it's because I use api in next.js, but it didn't give such errors before, what do you think I'm doing wrong?

3 Replies

Unfortunately, the solution given does not give a solution for Third-Party APIs
In my case, I use a third-party API which can sometimes be turned off / inaccessible during my compilations, preventing me from compiling.
What should I do? I obviously don't have the option of starting this third-party API.

It compiles when i put
export const dynamic = "force-dynamic"; but i still have the fetch failed errors in the console