EvaE
Convex Community2y ago
17 replies
Eva

Deleting users with Convex Auth

AdviceResolved
What's the best practice for deleting users when using Convex Auth? There aren't any examples in the docs, and removing only the row on the
users
table throws an error if you try to sign up with the same email.

Error: [CONVEX A(auth:signIn)] [Request ID: af708226cadf810c] Server Error
Uncaught Error: Uncaught Error: Could not update user document with ID `k174brjwcmhn3gsa85rymdcr4n6zw26q`, either the user has been deleted but their account has not, or the profile data doesn't match the `users` table schema: Update on nonexistent document ID k174brjwcmhn3gsa85rymdcr4n6zw26q
Was this page helpful?