... is returning undefined or null. enablePrivateMessage // Uncaught TypeError: Cannot read property 'notification' of undefined const options = {} const enablePrivateMessage = options. Connect and share knowledge within a single location that is structured and easy to search. const {anything } = undefined; // -> TypeError: // Cannot destructure property `anything` of 'undefined' or 'null'. Log In Sign Up. Your reactive property for this wired function is the recordId, so whenever it will change, the component will render the updated data. How to solve this? 36.8.2 You can’t Array-destructure non-iterable values . Hakim Rachidi 38,487 Points February 3, 2019 12:16pm. 471. A value or property cannot be null unless it has been explicitly set to null. Share.