incomplete-app-router-transaction #70622
Replies: 8 comments 14 replies
-
@chukusuccess are you using Clerk for auth? We are seeing the same problem after Clerk sign in, with the same unhelpful Sentry log. The app hard crashes for users when this happens. Wondering if it may be a Clerk bug |
Beta Was this translation helpful? Give feedback.
-
@aldenquimby @DawnMD @martingalovic Sorry for the late response, been caught up with work but I was able to debug my issue. In my case the data that was supposed to be passed into the dashboard component after sign-in was sometimes incomplete (especially image links) so the navigation from sign-in page into the dashboard was breaking. After doing proper checks for data before rendering anything (especially Image tags), I stopped seeing the error on sentry. @aldenquimby I'm not using Clerk for auth in my project but you should check for the presence of data in the page you are routing to and see if that helps with the "incomplete" routing bug. |
Beta Was this translation helpful? Give feedback.
-
Any updates here? This has been a major issue for us and just can't find a fix for it. Our issue isn't Clerk related. |
Beta Was this translation helpful? Give feedback.
-
Also running into this issue- using Firebase for auth. Hard to recreate (have been unable to repro locally) but happens at least once a day in prod. Usually comes with sentry message "Unexpected end of input" or "Invalid or unexpected token", though breadcrumbs show 200 responses. We have been telling users to log in with an incognito browser if they get the hard crash which seems to solve it, but not sure if it is actually 'solving' it or is just a transient issue. Using next version 13.4.10 if relevant. Tried switching from router.push() to router.replace() when navigating from login to home page, but still seeing the issue. Going to take a look at the proper checks for data rendering/image tags solution mentioned above, but would appreciate any other insight. |
Beta Was this translation helpful? Give feedback.
-
we aren't using clerk, but we are seeing this being reported a lot on Sentry as well. I haven't validated why its happening for us, but my gut reaction is that when we're redirecting or pushing people to notFound() function that it causes this issue. My understanding is that the redirect and notFound() functions in nextjs are "throwing an error" which terminates the rendering. Any help or workaround would be appreciated. |
Beta Was this translation helpful? Give feedback.
-
I am using Supabase yet also experiencing this issue on production, especially on some Android 10 devices, the points we use router hook we get this error often at least twice a day. I think I will leave router once and for all build separate pages for every route. |
Beta Was this translation helpful? Give feedback.
-
Has anyone figured out what the issue is yet? I'm using Clerk and Supabase all together but those dont seem to be related to the issues. |
Beta Was this translation helpful? Give feedback.
-
Same issue here |
Beta Was this translation helpful? Give feedback.
-
what does this error mean? it's caught by sentry when a sign-in attempt is made by some users and i can't make much sense of it. Also i have tried to upload source maps so i can see the bad code but I get this "Missing Source Context" error on sentry. Is this a NextJs 14.2.7 issue? I need some help, suggestions, and answers please.🙏
Beta Was this translation helpful? Give feedback.
All reactions