-
Notifications
You must be signed in to change notification settings - Fork 31
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
Web-vitals 401 error #147
Comments
Hi @MathiasGruber , usually that means that the integration token is not available. is this a production deployment? and it has been deployed after setting up the integration? |
Hi @schehata I'm facing the same issue and in my case, yes I'm running in production where my token should be exposed. I added next-axiom through Vercel Integration and the following steps described here for tailored logging: https://github.com/axiomhq/next-axiom |
Hey MathiasGruber, I was getting the same warning. I added '/_axiom/web-vitals' to my publicRoutes in my middleware and the warning went away. As below: //middleware.ts export default authMiddleware({ export const config = { I hope this helps. |
Adding web vitals was causing my middleware (using Clerk) to be rerun infinitely. Adding @DC55137's suggestion fixed it for me! |
Hello,
I'm developing on the website www.theninja-rpg.com, which is bootstrapped with T3, adapted to use drizzle as ORM and clerk for auth.
I also have axiom setup and deployed using the vercel integration. Looking at the console, I see the following:
Am I doing something wrong? The project source is available at: https://github.com/MathiasGruber/TheNinjaRPG .. I'm pretty sure I've just followed the setup guide, but maybe there is some conflics with e.g. clerk?
The text was updated successfully, but these errors were encountered: