Hi. We’ve started embedding the Hubspot chat in our webapp, and our Sentry error reporting picks up this error several times per day, apparently originating from the Hubspot chat code:
TypeError: Cannot read properties of null (reading ‘postMessage’)
at s(app:///conversations-embed.js:1:60651)
at Object.post(app:///conversations-embed.js:1:60031)
at ee.handleWindowResize(app:///conversations-embed.js:1:17476)
at sentryWrapped(./node_modules/@sentry/browser/esm/helpers.js:90:17)
We are muting this error in our Sentry as it is not actionable for us. But your developers probably want to look into catching this error, to fix end-user impact (if any) and to prevent the error reporting noise.
Cheers,
Gunnlaugur