Not authenticated
[CONVEX M(reports:uploadReport)] [Request ID: 9689ac8653abb809] Server Error
Uncaught Error: Not authenticated
at handler (../convex/reports.ts:32:4)
identity is coming out to be null, even though the convex token contains everything, userid, orgid etc?
what may be causing this?

5 Replies
@Nested what do you mean by
the convex token contains everything, userid, orgid etc?Which token, the one you're sending over the websocket? https://docs.convex.dev/auth/debug may be helpful Often this means that token was not actually sent.
i think yes, over the websocket, i am unable to identify whether something is wrong with clerk auth implementation or with convex

Hello I fixed the problem, it's was an error of clerk implementation
You can close this thread
@Nested just for others in the future, mind sharing what the issue was?
I implemented clerk auth wrongly(mainly routes), I used some wrong components to implement it, but they are solely related to clerk
That's why convex was also showing errors