# Live Chat throws errors on first open

**URL:** <https://community.hubspot.com/t/live-chat-throws-errors-on-first-open/95205>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [December 1, 2023, 11:47am UTC](https://community.hubspot.com/t/live-chat-throws-errors-on-first-open/95205 "2023-12-01T11:47:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![WijnandWF](https://avatars.discourse-cdn.com/v4/letter/w/ba8739/32.png) [@WijnandWF](https://community.hubspot.com/u/WijnandWF)\
**Post date:** [December 1, 2023, 11:47am UTC](https://community.hubspot.com/t/live-chat-throws-errors-on-first-open/95205/1 "2023-12-01T11:47:49Z")

</div>

Hi there!  
We have an extensive integration with Hubspot and are looking to integrate the Livechat onto our customer-facing platform.  
We load the hubspot tracking code through our GTM.  
The live-chat is fully functional, however after any type of page-reload, opening the live-chat will throw throw three errors in the console and there is a failing http-request:

 ![WijnandWF_0-1701430016035.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/c/1ca6f94fe09d5b3769e9296736635099942eb9b6.png)

Request url:  
[https://app.hubspot.com/api/login-verify/hub-user-info?early=true&hs\_static\_app=embedded-viral-link-ui&hs\_static\_app\_version=1.274&clienttimeout=3000](https://app.hubspot.com/api/login-verify/hub-user-info?early=true&hs_static_app=embedded-viral-link-ui&hs_static_app_version=1.274&clienttimeout=3000)  
Request response:

{

“status”: “error”,

“message”: “app-cookie not engaged. App cookie is not present on the request.”,

“correlationId”: "some-id-here

}

What can I do to resolve these issues?  
\*edit:  
I’ve seen this thread:  
[https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Tracking-Code/m-p/361635?\_ga=2.225907034.1190451373.1701427624-1199038256.1700035157](https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Tracking-Code/m-p/361635?_ga=2.225907034.1190451373.1701427624-1199038256.1700035157)  
I’d like to add that I’m testing the live-chat integration in a Chrome incognito window, while being logged into our hubspot dashboard in Firefox.  
Thank you for your time!

---

<div class="post-metadata">

**Author:** ![PamCotton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pamcotton/32/47916_2.png) [@PamCotton](https://community.hubspot.com/u/PamCotton)\
**Post date:** [December 4, 2023, 8:49pm UTC](https://community.hubspot.com/t/live-chat-throws-errors-on-first-open/95205/2 "2023-12-04T20:49:16Z")

</div>

Hello @WijnandWF thank you for posting in our Community!

I came across [this post here](https://community.hubspot.com/t5/CMS-Development/Embed-Live-Chat-Widget-code-in-a-React-application/m-p/503375)with similar content, and our developer’s page with more information[about conversation setup](https://developers.hubspot.com/docs/api/conversation/chat-widget-sdk).

To our top experts @tjoyce [@Phil\_Vallender](https://community.hubspot.com/t5/user/viewprofilepage/user-id/74) @miljkovicmisa any recommendations to @WijnandWF?

Thank you,

Pam
