Scenario is to prevent from creating a new note if the value of a field in parent entity(where note grid is present) is missing.
I have been trying to throw an exception after checking for a field in a parent entity whether value is present or not) on create of annotation.
Registered as a pre-operation plugin. Exception is thrown as expected but similar exception message with an internal server error is occurring on reload of parent entity.