web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

while Creating chat bot error is coming Chat Widget

(0) ShareShare
ReportReport
Posted on by 365

While Creating a Chatbot I am getting this error can anyone can help me with this,

Any help would be Great

  • pastedimage1618825380621v1.png
I have the same question (0)
  • unbeatable Profile Picture
    365 on at

    This is the complete details error

    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: 822b6ca3-8276-4fe6-8627-6c354cbb25eb

  • Community Member Profile Picture
    on at

    Hi partner,

    You can refer ‘Troubleshoot Omnichannel for Customer Service’ document, which provides list of troubleshooting topics to quickly find information to solve your issue about Omnichannel for Customer Service.

    “An error occurred in the PreLiveChatConfigCreatePlugin plug-in” is one topic of it.

    pastedimage1618882684413v1.png

    https://docs.microsoft.com/en-us/dynamics365/customer-service/troubleshoot-omnichannel-customer-service#error-occurs-when-i-try-to-create-a-chat-widget-or-social-channel-

    you need to check the provisioning status once again as per the documentation:

    Provision Omnichannel for Customer Service | Microsoft Docs

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

Under review

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

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Suriyanarayanan V Profile Picture

Suriyanarayanan V 22

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 18 Super User 2026 Season 1

#3
CU19070926-0 Profile Picture

CU19070926-0 13

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans