-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API routes in NextJS don't return any data #501
Comments
You should upgrade to the latest 14, there are some breaking changes from 12 => 13, but it should be pretty minor. |
Hi @khuezy, we have now upgraded the application over to Next.js 14. The We then tried to call one |
@jfacchini What headers do you get ? It looks like this is cached in the cdn |
@conico974 Thanks for your help. We managed to fix the issue and we found out what was causing it. Seems to have been a repeat of: #350 For others who come here, we both removed Sentry (we were going to do this anyway) and upgraded to OpenNext v3. These both seemed to fix the problem, although due to caching issues, we'll never know which (one, the other or both) fixed it. Closing the issue. |
Over on SST Ion we posted this issue:
sst/sst#4282
One of the responders there mentioned it could be an issue with us using Next 12 and suggested we ask here. Any ideas, and does it seem most likely (as they suggest) that our issue is due to using Next 12 with the latest version of OpenNext?
Thanks!
The text was updated successfully, but these errors were encountered: