Reset password email is not due to error Cannot read property 'length' of undefined

Hi

When our user is trying to reset a password, a password restore email is not sent. In logs we can see:
{
“date”: “2019-04-11T14:20:05.209Z”,
“type”: “fn”,
“description”: “YYYYYYYYY@gmail.com”,
“connection”: “Username-Password-Authentication”,
“connection_id”: “”,
“client_id”: “4klfih5DCp4zje6t04uYYYYYYYYY”,
“details”: {
“email_type”: “reset_email”,
“to”: “YYYYY@gmail.com”,
“error”: “Cannot read property ‘length’ of undefined”
},
“log_id”: “9002019041114200520978954655322628553950313371XXXXXXXXXX”
}

Please advise what might be wrong.

Versions of libraries
https://cdn.auth0.com/js/auth0/9.10.1/auth0.min.js
https://cdn.auth0.com/js/polyfills/1.0/object-assign.min.js

It does not happen with all users, but with just few.

Any advise?

Is the connection to which the user is associated a custom database connection? For a custom database connection a reset password would involve calling the get user script so that error message could fit with that scenario.

This is standard Username-Password-Authentication.
We have 2 regular web applications.
My assumption is that in some cases, it cannot recognize application.callback_domain
for “Redirect To” field and might be causing such an issue.

Can you share (even if a redacted version) of your password reset email template, in particular, the redirect to that you suspect may be the cause of this?