Zoomtopia is here. Unlock the transformative power of generative AI, helping you connect, collaborate, and Work Happy with AI Companion.
Register nowEmpowering you to increase productivity, improve team effectiveness, and enhance skills.
Learn moreKeep your Zoom app up to date to access the latest features.
Download Center Download the Zoom appDownload hi-res images and animations to elevate your next Zoom meeting.
Browse Backgrounds Zoom Virtual BackgroundsEmpowering you to increase productivity, improve team effectiveness, and enhance skills.
Zoom AI CompanionUser groups are unique spaces where community members can collaborate, network, and exchange knowledge on similar interests and expertise.
Help & Resources is your place to discover helpful Zoom support resources, browse Zoom Community how-to documentation, and stay updated on community announcements.
The Events page is your destination for upcoming webinars, platform training sessions, targeted user events, and more. Stay updated on opportunities to enhance your skills and connect with fellow Zoom users.
Starting February 3, 2025, Zoom Phone customers must add their phone numbers to an approved 10DLC campaign in order to use SMS/MMS capabilities on their numbers.
Introducing more live support options! More Zoom customers now have access to live agent chat support. Sign in and visit our Contact Support page to see all your available support options. We’re here to help!
2024-02-02 02:44 AM
Hi support,
After creating the entry ID and flow in the contact center management, I copied the script code and injected it into my app.js code like this:
useEffect(() => {
const script = document.createElement('script');
script.src="https://us01ccistatic.zoom.us/us01cci/web-sdk/chat-client.js";
script.async = true;
script.dataset.chatEntryId = "*******************************";
script.dataset.env = "us01";
script.dataset.apikey = "***********************";
document.body.appendChild(script);
return () => {
document.body.removeChild(script);
}
}, []);
However, it shows me an error in the screenshot. Please advise on how to solve this problem. Additionally, I'm encountering another error for the video call. The call is passed to the agent in the application, but upon response, an error is displayed in the screenshot. Here's the relevant code:
// useEffect(() => {
useEffect(() => {
// Create a script element
const script = document.createElement('script');
// Set script attributes
script.setAttribute('data-entry-id', '******************************');
script.setAttribute('data-env', 'us01');
script.setAttribute('data-apikey', '************************');
script.src='https://us01ccistatic.zoom.us/us01cci/web-sdk/video-client.js';
// Append the script to the head of the document
document.head.appendChild(script);
return () => {
// Clean up: Remove the script when the component unmounts
document.head.removeChild(script);
};
}, []);
Best Regards,
firas