Skip to main content

Notifications

Customer Service forum
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

plugin error in creating chat for omnichannel

Posted on by 60

Hi all, Hope you are doing great

While I am working with Omnichannel in customer service by creating a chat box from the left hand side (sitemap), I am getting error of 

An error occurred in the PreLiveChatConfigCreatePlugin plug-in

if someone knows the solution, please let me know attaching details file and error SS.

Thank you

4375.pastedimage1642498397800v1.png

Error message:

Exception Message: An error occurred in the PreLiveChatConfigCreatePlugin plug-in

ErrorCode: -2147220891
HexErrorCode: 0x80040265

ErrorDetails:
OperationStatus: 0
SubErrorCode: -2146233088
Plugin:
ExceptionFromPluginExecute: Microsoft.Dynamics.OmnichannelChat.Plugins.PreOperationLiveChatConfigCreatePlugin
ExceptionRetriable: False
ExceptionSource: PluginExecution
OriginalException: PluginExecution
PluginTrace: livechatplugin: Verifying the client is not offline.
livechatplugin: Getting the target entity from Input Parameters.
could not get Org URL service endpoint
Formatting localized error for key LiveChatConfig.ServiceEndpointError
Looking up localized string LiveChatConfig.ServiceEndpointError in msdyn_OmnichannelChat.{0}.resx
Looking up user ui language code
Loading msdyn_OmnichannelChat.1033.resx for key LiveChatConfig.ServiceEndpointError
Begin:RetrieveXmlWebResourceByName, webresourceSchemaName=msdyn_OmnichannelChat.1033.resx
Webresources Returned from server. Count=1
End:RetrieveXmlWebResourceByName, webresourceSchemaName=msdyn_OmnichannelChat.1033.resx
Found localized string LiveChatConfig.ServiceEndpointError in msdyn_OmnichannelChat.{0}.resx for userUiLcid 1033
PreLiveChatConfigCreatePlugin: Microsoft.Xrm.Sdk.InvalidPluginExecutionException: An error occurred while generating the chat widget snippet: service endpoints not found
at Microsoft.Dynamics.OmnichannelChat.Plugins.PreOperationLiveChatConfigCreatePlugin.Execute(IServiceProvider serviceProvider)
Formatting localized error for key LiveChatConfig.CreateError
Looking up localized string LiveChatConfig.CreateError in msdyn_OmnichannelChat.{0}.resx
Looking up user ui language code
Loading msdyn_OmnichannelChat.1033.resx for key LiveChatConfig.CreateError
Begin:RetrieveXmlWebResourceByName, webresourceSchemaName=msdyn_OmnichannelChat.1033.resx
Webresources Returned from server. Count=1
End:RetrieveXmlWebResourceByName, webresourceSchemaName=msdyn_OmnichannelChat.1033.resx
Found localized string LiveChatConfig.CreateError in msdyn_OmnichannelChat.{0}.resx for userUiLcid 1033

HelpLink: go.microsoft.com/.../

TraceText:
[Microsoft.Dynamics.OmnichannelChat.Plugins: Microsoft.Dynamics.OmnichannelChat.Plugins.PreOperationLiveChatConfigCreatePlugin]
[ca587892-f52a-4e2a-86fe-67f39c87c335: Microsoft.Dynamics.OmnichannelChat.Plugins.PreOperationLiveChatConfigCreatePlugin: Create of msdyn_livechatconfig]


livechatplugin: Verifying the client is not offline.
livechatplugin: Getting the target entity from Input Parameters.
could not get Org URL service endpoint
Formatting localized error for key LiveChatConfig.ServiceEndpointError
Looking up localized string LiveChatConfig.ServiceEndpointError in msdyn_OmnichannelChat.{0}.resx
Looking up user ui language code
Loading msdyn_OmnichannelChat.1033.resx for key LiveChatConfig.ServiceEndpointError
Begin:RetrieveXmlWebResourceByName, webresourceSchemaName=msdyn_OmnichannelChat.1033.resx
Webresources Returned from server. Count=1
End:RetrieveXmlWebResourceByName, webresourceSchemaName=msdyn_OmnichannelChat.1033.resx
Found localized string LiveChatConfig.ServiceEndpointError in msdyn_OmnichannelChat.{0}.resx for userUiLcid 1033
PreLiveChatConfigCreatePlugin: Microsoft.Xrm.Sdk.InvalidPluginExecutionException: An error occurred while generating the chat widget snippet: service endpoints not found
at Microsoft.Dynamics.OmnichannelChat.Plugins.PreOperationLiveChatConfigCreatePlugin.Execute(IServiceProvider serviceProvider)
Formatting localized error for key LiveChatConfig.CreateError
Looking up localized string LiveChatConfig.CreateError in msdyn_OmnichannelChat.{0}.resx
Looking up user ui language code
Loading msdyn_OmnichannelChat.1033.resx for key LiveChatConfig.CreateError
Begin:RetrieveXmlWebResourceByName, webresourceSchemaName=msdyn_OmnichannelChat.1033.resx
Webresources Returned from server. Count=1
End:RetrieveXmlWebResourceByName, webresourceSchemaName=msdyn_OmnichannelChat.1033.resx
Found localized string LiveChatConfig.CreateError in msdyn_OmnichannelChat.{0}.resx for userUiLcid 1033

Activity Id: 4a045f7a-fa5e-4c7a-8a13-4ad25d2f30a2

Helpful resources

Quick Links

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,802 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,129 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,154

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans