Jul 4, 201910:44 AM - edited Jul 4, 201910:45 AM
Participant
Erro in HubSpotConversations.widget.load(); on 'EventTarget': parameter 1 is not of type 'Event'
I would like to have support for the error that is occurring on my console to call the hubspot chat function.
These were my steps:
1. insert the script into my application
2. I make a script that sets the startup options: Note: I noticed that an expected object "reason" even informed and recognized by the function as undefined.
if (window.HubSpotConversations) { window.HubSpotConversations.widget.load({ widgetOpen: false }); }
In the Google Chrome console, the error was triggered:
events.js:25 Uncaught TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'.
at o (events.js:25)
at Object.messagesInitialized (events.js:33)
at WidgetShell.js:548
at XMLHttpRequest.<anonymous> (fetchWidgetData.js:60)