AnonymousA
Convex Community6mo ago
12 replies
Anonymous

Got invalid code error on reset password

<input name="email" value={step.email} type="hidden" />
<input name="flow" value="reset-verification" type="hidden" />

const handleResetPassword = async (event: any) => {
event.preventDefault();
const formData = new FormData(event.currentTarget);
console.log("formDtaaaaa", formData);
void signIn("password", formData);
}


i have passed the same code as received in email but got this error

chunk-SSHQXKLM.js?v=638577a8:2460 Uncaught (in promise) Error: [CONVEX A(auth:signIn)] [Request ID: 0aab4165e92d0333] Server Error
Uncaught Error: Invalid code

Called by client
Was this page helpful?