Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node-red crash after update #53

Open
tomganleylee opened this issue Aug 13, 2022 · 0 comments
Open

Node-red crash after update #53

tomganleylee opened this issue Aug 13, 2022 · 0 comments

Comments

@tomganleylee
Copy link

Hi,
after using this node for a few months without issue (btw great node). i am having issues since an update and cannot seem to find the issue. Im hoping someone here might be able to help. the error logs show this:

Tesla API: No token found. Getting new token now...
Tesla API: doing api call to fetch new access token
13 Aug 22:46:08 - [red] Uncaught Exception:
13 Aug 22:46:08 - [error] TypeError: Cannot read properties of undefined (reading 'charging_state')
at /usr/src/node-red/node_modules/@node-red/util/lib/util.js:430:29
at Array.reduce ()
at getObjectProperty (/usr/src/node-red/node_modules/@node-red/util/lib/util.js:429:18)
at getMessageProperty (/usr/src/node-red/node_modules/@node-red/util/lib/util.js:401:12)
at Object.evaluateNodeProperty (/usr/src/node-red/node_modules/@node-red/util/lib/util.js:652:22)
at /data/node_modules/node-red-contrib-bool-gate/lib/RuleManager.js:109:37
at new Promise ()
at RuleManager.updateState (/data/node_modules/node-red-contrib-bool-gate/lib/RuleManager.js:106:16)
at andGateNode._inputCallback (/data/node_modules/node-red-contrib-bool-gate/nodes/and.js:27:30)
at /usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:210:26
13 Aug 22:46:32 - [info]

many thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant