# Web Chat errors using zcc-sdk.js / Campaign embedded web tag

**URL:** <https://devforum.zoom.us/t/web-chat-errors-using-zcc-sdk-js-campaign-embedded-web-tag/88858>\
**Category:** Chat\
**Created:** [May 23, 2023, 3:49am UTC](https://devforum.zoom.us/t/web-chat-errors-using-zcc-sdk-js-campaign-embedded-web-tag/88858 "2023-05-23T03:49:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaunc](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shaunc/32/48749_2.png) [@shaunc](https://devforum.zoom.us/u/shaunc)\
**Post date:** [May 23, 2023, 3:49am UTC](https://devforum.zoom.us/t/web-chat-errors-using-zcc-sdk-js-campaign-embedded-web-tag/88858/1 "2023-05-23T03:49:08Z")

</div>

**API Endpoint(s) and/or Zoom API Event(s)**  
Zoom Web Chat / Campaign integration to website

**Description**  
Getting errors on the website. Can’t open chat. Previously worked using the normal web chat flow with an entry ID. No longer works with new embedded tags.

**Error?**

> zcc-sdk.js:71 POST https:// us01cciapi .zoom .us/v1/auth/token/generate/in/visitor/mode 400  
> zcc-sdk.js:58 [Task:create\_token\_service] error  
> zcc-sdk.js:58 [Pipeline] Chat Service Pipeline error

> {status: false, errorCode: “19001”,…}  
> errorCode: “19001”  
> errorMessage: “ACCOUNT\_NOT\_FOUND[20006] - Bad Request, can not get entry id from request body”  
> status: false

**How To Reproduce**  
Er… I’ve created the Campaign. Chat flow, etc.  
We’ve just purchased our licenses after testing webchat using the Flow’s script:

> \< script data-chat-entry-id=“XXXX” data-apikey=“XXXX” src=“https:// us01ccistatic .zoom. us/us01cci/web-sdk/chat-client.js”\>

This worked fine but we wanted to have some control over the appearance, so we swapped to the configured Campaign we setup:

> \< script data-apikey=“XXXXX” src=“https:// us01ccistatic .zoom .us/us01cci/web-sdk/zcc-sdk.js”\>

Full HTML with broken tags so it shows up 😅:

> \< div\>  
> \< button class=“btn float-btn btn-success” id=“supportchat”\>Start chat  
> \< script data-apikey=“XXXXX” data-el=“#supportchat” src=[https://us01ccistatic.zoom.us/us01cci/web-sdk/zcc-sdk.js](https://us01ccistatic.zoom.us/us01cci/web-sdk/zcc-sdk.js)\>  
> \< /script\>  
> \< /div\>

This no longer works and gets the errors mentioned above.
