Cannot read property 'id' of undefined

Just started receiving this error when our users are attempting to change their passwords from their mobile devices. Don’t know what this means or where to look.

{
“date”: “2020-10-14T11:44:30.016Z”,
“type”: “fu”,
“description”: “Cannot read property ‘id’ of undefined”,
“connection”: “Production-DB”,
“connection_id”: “xxxxxx”,
“client_id”: "xxxxxxxxx,
“client_name”: “Gateway People”,
“ip”: “107.77.200.98”,
“user_agent”: “Mobile Safari 13.1.2 / iOS 13.7.0”,
“details”: {
“error”: {
“message”: “Cannot read property ‘id’ of undefined”
}
},
“user_id”: “”,
“user_name”: “xxxxx@yyy.com”,
“strategy”: “auth0”,
“strategy_type”: “database”,
“log_id”: “90020201014114433423000480018446262557615666691882090546”,
“_id”: “90020201014114433423000480018446262557615666691882090546”,
“isMobile”: true
}

Hey @tadpreston, The error can come from some extensibility code as well, do you have any hooks for Post password change, that might trigger the error, It might also generate from Custom DB script on Auth0 side if you are using Custom DB. Do have a look at your extensibility code(Custom db scripts or hooks) .

Let me know if this helps!

1 Like

Thanks for your reply Sidarth. This give me some things to look into.

2 Likes

Let us know if you find something!