Next.js Discord

Discord Forum

API calls cause build fail/timeout

Unanswered
Little Bunting posted this in #help-forum
Open in Discord
Little BuntingOP
I have a server function that's calling my (strapi) backend. During buildtime the backend is not yet available which results in ECONNREFUSED and a subsequent timeout which causes the build to fail. How to handle this issue?

0 Replies