#TypeError: Cannot read properties of null (reading 'rotateKey')

2 messages · Page 1 of 1 (latest)

ocean sail
#

Hi, I am getting the next error after some time in getChats.
The error seems to happend after some time without call api functions.
Does someone has some tip what problem is it?

My setup is:
OS: Windows 10
whatsapp-web.js version: 1.23.1-alpha.4
WhatsApp Web version : 2.2404.2
Node.js 16.9.1

The error is:
error: 25/01/2024 18:36:06 Evaluation failed: TypeError: Cannot read properties of null (reading 'rotateKey')
at https://web.whatsapp.com/app.14ee6e8dbd43d3956509.js:264:158865
at Array.map (<anonymous>)
at https://web.whatsapp.com/app.14ee6e8dbd43d3956509.js:264:158848
at Generator.next (<anonymous>)
at t (https://web.whatsapp.com/vendor1~app.6bd0798bf8d46303b447.js:2:66487)
at s (https://web.whatsapp.com/vendor1~app.6bd0798bf8d46303b447.js:2:66698)
at https://web.whatsapp.com/app.14ee6e8dbd43d3956509.js:216:16573
at je (https://web.whatsapp.com/app.14ee6e8dbd43d3956509.js:216:10873)
at He (https://web.whatsapp.com/app.14ee6e8dbd43d3956509.js:216:11629)
at https://web.whatsapp.com/app.14ee6e8dbd43d3956509.js:216:11998
error: 25/01/2024 18:36:06 Evaluation failed: TypeError: Cannot read properties of null (reading 'rotateKey')

#

I can post my complete code to calling the getChats() if someone needs it.