Display D365 Plugin Error on D365 Portals.
Introduction
It is important for the end-user to understand the error displayed on D365 Portals. In this blog, we will display D365 Plugin Error on the D365 Portals.
By default, the error will be displayed as shown below: 
Implementation
Step 1: Create a new Site Setting record.
Step 2: Set the values given below in the fields:
Name: Site/EnableCustomPluginError
Value: true
Now you can see the Error thrown by D365 Plugin.
Custom plugin errors will appear on the following screens:
- Entity list
- Retrieval of records
- Entity form
- Retrieve
- Create/Update and so on
- Web forms
- Retrieve
- Create/Update and so on
Related posts:
Why Business Central Rejects API Data: Understanding Validation Errors and Posting Setup

How a U.S. Industrial Cybersecurity Company Built a Custom Sales Portal with Power Apps Code Apps

How a U.S. Castings Manufacturer Saved Time by Updating Dynamics 365 Without Logging Into CRM

