Next.js Discord

Discord Forum

Fetch fail after few refreshes

Unanswered
Giant Angora posted this in #help-forum
Open in Discord
Giant AngoraOP
Hello , i have a next.js project , and in one of its pages , there's too much fetch requests to get data from next.js api , when i run it on production server , it call all of them , but after an refresh , it wont call some of them :

14 Replies

@Giant Angora https://gist.github.com/ThisIsTheMatin/3ac9725f18c44f57cf27e72d0d7cfba2
Giant AngoraOP
Console content , if you check , it will return all of fetches in first page refresh , then it just fetch some of them , and after that it wont fetch anything until you restart server
@Anay-208 | Ping in replies
@West African Lion
Need your help 😅 ❤️
Giant AngoraOP
No
I disabled it since you told me
Cause it make too much problems for my fetch requests
I'm currently busy working in the hackathon. You can wait for someone else to respond or ping me on 18th
@Anay-208 | Ping in replies I'm currently busy working in the hackathon. You can wait for someone else to respond or ping me on 18th
Giant AngoraOP
Oh sure!
I mean if you could just give a few minutes to help for this to solve ❤️
But if you couldn't , its ok (:
Even if its a few mins problem, It'd take me much longer time because we've less time left to refine everything.

For instance, one of my team members weren't able to solve a bug, which took me few mins to solve(since I was done with my tasks and had some extra time before winding up for the day)