Recently, the author encountered an exception in one of their plugins where the message size exceeded the allowed limit. The error occurred when retrieving notes records associated with inspection responses/attachments in Dynamics 365 Field Service. If the total size of the attachments exceeded 100 MB, the error occurred. To fix the issue, the author updated their logic to process the notes attachments one by one instead of fetching all the note details at once. This resolved the error.
Login now to access my digest by 365.Training