ERROR - CommunicationService.TransmitMessage MessageMilestone 2023 - MIP Event Server Logs

When trying to execute a function from my plugin, I get an error messages.

ERROR - CommunicationService.TransmitMessage Message ‘Report’ with prohibited data class type ‘System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ discarded. For further info check KB article.

2024-03-26 14:19:27.942+02:00 [ 58] ERROR - Plugin Could not generate report! Error: Unable to Transmit.

Error only in Milestone 2023 All version.

No errors in Previous Milestone versions. 2022 R3 and earlier.

This is the knowledge base article (KB)-

https://developer.milestonesys.com/s/article/how-to-handle-EVS-error-Message-x-with-prohibited-data-class-type

This was introduced in 2023 R2 due for security reasons. For more information please see this: https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_mip_messaging.html&tree=tree_4.html

(“Limitations on types allowed in the Message.Data field” section)