Error Message: 'An Unexpected Client Error Has Occurred' when Using Lasernet Email
    • 05 Feb 2026
    • 1 Minute to read
    • Contributors
    • PDF

    Error Message: 'An Unexpected Client Error Has Occurred' when Using Lasernet Email

    • PDF

    Article summary

    When attempting to set up Email through Lasernet FO Connector, the following error may occur:

    Erro

    An unexpected client error has occurred

    This affects Predefined Destinations and standard Lasernet emailing:

    Cause - Dynamics 365 Finance and Operations 10.0.25

    Microsoft has introduced a new HTML editor control and no longer supports the Legacy HTML editor in version 10.0.25.

    Updates to client feature states with version 10.0.25 - Dynamics 365 Release Plan | Microsoft Docs

    Lasernet parameters are set to Legacy HTML editor, which causes an error message when entering email destinations. This is due to Dynamics 365 FO 10.0.25.

    Solution

    To stop this error from occurring,  follow these steps:

    1. Navigate to Lasernet > Setup > Parameters.

    1. Expand the Email FastTab and click the dropdown menu to change the value in the Emailing body editor type field to HTML editor.

    The HTML editor has been introduced in Lasernet FO Connector 6.16.

    If you are using a Lasernet Connector version older than 6.16 and do not use HTML for email body text, you can also switch to Plain text.

    Version 10.0.22 of Finance and Operations Apps

    When you use the HTML editor control and try to open the lookup for Styles, Format, Font, or Size, the following error will occur: "An unexpected client error has occurred”. Once this happens, clicking the Save button on the dialog will not solve the issue.

    Solution

    Combo box selections in the toolbar would cause this client error because the context is incorrect. The correct context is now in place.