fetchQuery: TypeError: fetch failed For a fresh *Next.js* X *Convex* Project
Hello I am getting this error when I am trying to run a
fetchQuery
on a next.js server component
And on the convex side the default list function
and I am getting this on the console
Any idea what might be a reason? Any suggestions are welcome 🙏 🥲4 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
Can you share the listNumbers function definition
Hi,
I found the issue
https://github.com/vercel/next.js/discussions/70423
also I had to update my nodejs version 20 -> 24
Thanks for sharing!