Hello,
I have a problem implementing a web chat.
Using the developer tools, I try to start a chat conversation, but in the pop-up window the following error appears: "Chat is unavailable due to an authorization error".
This is the deployment script tag
<script
id="purecloud-webchat-js"
type="text/javascript"
src="https://apps.mypurecloud.com/webchat/jsapi-v1.js"
region="us-east-1"
org-guid="----"
deployment-key="----"></script>
This is the chat code:
let chatConfig = {
"webchatAppUrl": "https://apps.mypurecloud.com/webchat",
"webchatServiceUrl": "https://realtime.mypurecloud.com:443",
"orgId": "-----",
"orgName": "-----",
"queueName": "-----",
"logLevel": "DEBUG",
"locale": "en"
I have created a Deployment, and queue have agents. The chat deployment settings is updated to true:
{
"requireDeployment": true
}
How to solve this problem? Thanks