Friday, December 16, 2022

Embedded Messaging with host domain value cannot be hosted on domain Error In Salesforce

Issue:

These types of errors mostly pops up when your working any kind of the Messaging Systems/Live Agent Chat or Messaging In App and Web chat features in salesforce.

In my case this error is on "Messaging In App and Web" chat configuration.

When your configuring the this Messaging In App and Web we need to create a Embedded Service Deployment to deploy this chat button in on your company/local websites.

Solution:

If we look at "Embedded Service Deployment" configuration it will have bunch of the key properties we need to setup like

  • Embedded Service Deployment Name
  • Site Endpoint
  • Domain
  • Messaging Channel
But now we will discuss more about the Domain property details and it's behavior.

Domain: This domain is the main key reason for this issue. Ideally here we need to add the domain name of your company/website where your going add this chat button on web. So, this code can be hosted on this server without any error.

So if here you have entered domain as "srinivas4sfdc.com"  in your configuration ideally this code snippet you need add on this site only else you will receive the same error.

In my case I have added my domain name as my company domain address like yourcompany.com,yourcompanydomain.in etc and when I'm try to add this code snippet on my website domain "srinivas4sfdc.com" I'm getting the same error.

Deployment Setup Screen:


Error On Website:






Please comment or write us if you have any queries/requirements.

Please like,follow,bookmark,subscribe this site to receive daily updates.


FaceBook Page - I Love Coding. You?


Hope this helps you..Enjoy..!

No comments:

Post a Comment