#sentry errors

9 messages · Page 1 of 1 (latest)

compact shadow
#

Hello these two sentry errors are repetitively reported;

  1. ArgumentValidationError: Value does not match validator. Path: .refreshToken Value: null Validator: v.string()
  2. Unexpected token 'A', "A server e"... is not valid JSON

Both are related to convex auth

#

found this on convex logs as well

dawn prairie
#

Do you also have logs from Next.js? It would help to have the full error message that the Next.js server is returning for the second case.

dawn prairie
#

For the first issue update @convex-dev/auth to latest. I'm not sure why it would happen, but I hopefully captured the error (should be logged on the Next.js server).

compact shadow
#

this is what I found in vercel logs for the server error

Error: [Request ID: d8c3063dfae98371] Server Error
at (node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/convex/dist/esm/browser/http_client.js:323:0)
at (node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected][email protected].iqy6brgeee4fbt5oz57gluz3we/node_modules/@convex-dev/auth/dist/nextjs/server/proxy.js:28:0)
at (node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected][email protected].iqy6brgeee4fbt5oz57gluz3we/node_modules/@convex-dev/auth/dist/nextjs/server/index.js:49:0)
at (node_modules/.pnpm/@[email protected]
@[email protected]
@[email protected]_@opentelemetry+api@ksey7zpx5z6xea4jmy5iongufm/node_modules/@sentry/nextjs/build/esm/common/utils/edgeWrapperUtils.js:49:0)
at (node_modules/.pnpm/[email protected]
@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/next/dist/esm/server/web/adapter.js:158:0)

#

[POST] [middleware: "middleware"] /api/auth reason=EDGE_FUNCTION_INVOCATION_FAILED, status=500, user_error=true

dawn prairie
compact shadow