APIs & Integrations

ASchadnev
Member

fetchWidgetData script goes into a loop and spams with requests

script launch with transfer of user authorization data is implemented.

 

The problem occurs when the widget is connected with a specific user (token + mail) and the page reloads. At that point, requests start pouring in until the stack is full. After that the widget is reloaded and everything is normal.

 

When reloading, two methods are called to clear the chat after user change:

window.HubSpotConversations.clear({ resetWidget: true });
window.HubSpotConversations.widget.load();

 

Screenshot 2024-04-12 162806.pngScreenshot 2024-04-12 162737.png

 

0 Replies 0

0 Replies

No replies on this post just yet

No one has replied to this post quite yet. Check back soon to see if someone has a solution, or submit your own reply if you know how to help! Karma is real.

Reply to post

Need help replying? Check out our Community Guidelines