Getting "invalid json" with sendResetPasswordEmail()

I’m trying to reset my user’s password using the Web Realm SDK. I followed the docs:

// The user's email address
const email = ""
await app.emailPasswordAuth.sendResetPasswordEmail({ email });

but replaced the email address above with that associated with my user.

However I get an invalid json Authentication error in the logs.

What am I doing wrong? Thanks in advance!

1 Like

It looks like my issues was due to an outdated version of realm-web ( realm-web@1.3.0 ). I’ve upgraded to realm-web@1.5.1 and it now works. Closing this!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.