Unable to access "changes" menu. Cannot read properties of null (reading 'firstName')
We get this message: Sorry, but something went wrong.
Our team has been notified and we are investigating.
Event Id: 7cc9a9461ceb4cbc834ccec41ab8d0e5.
TypeError: Cannot read properties of null (reading 'firstName')
Wondering if the reason is that none of our 3 suscribers have that field populated?
6 Replies
Hi @SafeMahou5x, I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question.
-----------------------------
While I generate an answer, here are some sources that might be helpful:
* General
* SMS Channel Overview
* Java quickstart
* Chat Channel Overview
-----------------------------
Answer
The error you're encountering, "Cannot read properties of null (reading 'firstName')," likely occurs because one or more of your subscribers do not have their
firstName
field populated. This can lead to issues if the code expects this field to always have a value.
To resolve this, ensure that all your subscribers have the firstName
attribute set. You can check and update the subscribers' information using code similar to the following:
(1)
Additionally, verify that your subscribers have the necessary fields populated by checking their attributes in the Novu dashboard.Hey @SafeMahou5x , let me know check that, @Dima Grossman , @sokratis can you help us out here?
Thanks! according to the docs, only suscriberId is mandatory ( we are doing some tests )
Got it. Tagging @Support for additional help.
Hi @SafeMahou5x have you removed a user recently from the Novu platform? Might be related to a deleted user on web.novu.co. Nonetheless, we have identified the problem and issuing a fix right now
An update was deployed on our cloud instace. Could you please try again visiting the changes page?