When processing a incoming mail that contains a delimiter of module other than Request & change and the License applied in the environment that doesn't have access to Release module, then the following mail fetching failure issue will occur.
Reference Traces :
- [14:23:32:678]|[12-28-2023]|[com.manageengine.servicedesk.v3api.utils.AttachmentAPIUtil]|[SEVERE]|[532]: Unexpected error occurred in attachment handling|
- com.manageengine.sdpod.v3api.SDPAPIException
- at com.manageengine.sdpod.v3api.handler.AbstractEntityHandler.checkLicenseRestrictions(AbstractEntityHandler.java:355)
- at com.manageengine.sdpod.v3api.handler.AbstractEntityHandler.handleAPICall(AbstractEntityHandler.java:97)
Cause of this Issue :
During mail fetching, if the incoming mail has attachments, module for the APIRequest is identified. In that process, If the incoming mail has no delimiter or Request delimiter or Change delimiter, APIRequest module is considered as Release. This is what the root cause for this issue.
Since the customer environment do not have license to Release module, the above exception will be thrown, which inturn result in mail fetching failure.