Customer Feedback Tool

gthb
Member

Chat reports low-level error about postMessage to our Sentry

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

0 Upvotes
1 Reply 1
MKors7
Member

Chat reports low-level error about postMessage to our Sentry

Hi Gunnlaugur,

Thank you for bringing this to our attention. We appreciate your detailed report. Our development team will investigate and work on resolving this issue to improve the end-user experience and reduce error noise.

Cheers,

0 Upvotes