hocinoH
Convex Community11mo ago
5 replies
hocino

How to correctly signOut with clerk

Hi

With my app when I use the clerk signOut button I have directly an error from convex as below
Error: [CONVEX Q(services/stripe/stripeSubscriptions:getSubscriptionInformation)] [Request ID: fc436127d0b11665] Server Error Uncaught TypeError: Cannot read properties of null (reading 'userId')
I have the same error when I use the clerk organizationSwitcher Component.

How can I prevent this behavior ? What is the proper way to signOut or switch organization with clerk and convex ?

Thank you
Was this page helpful?