Real-Time Logs not showing error responses
I'm trying to debug an issue with some sporadic errors which result in a 401 api response from my pages function. When using the Real-Time Logs stream, all 200 OK responses come through but the 401 error responses do not.
How can I get all api responses to show? Would it be framework specific? I'm using Nuxt3 and have logging on all requests, responses and errors through Nitro hooks api.
9 Replies
realtime logs has all requests
But I for certain don't see the logs for the error responses. Didn't apply any filters either
From devtools the error comes from id z4y4l3....
but it's not the CF log stream


can ignore the "refresh_token" calls, more focused devtools pic

what's the body on the 401?
That's the error I'm trying to debug, which happens periodically
yeah not seeing either the tabler.json or the z4y request, wonder if too many events in short time? not fully sure
Heyy ok cool ~~ looks like the log just came in. But 10 minutes after:

10:04 -> 10:14
^ don't know why I got lucky with that request. the issue still persists. not seeing logs for the error responses. even after waiting