The issue occurs because there is a misconfiguration in the ERSPAN setting and the mirrored packets are malformed.
You can use a packet analysis software, such as Wireshark, to confirm if packets are broken.
To resolve the issue, contact CISCO support to help in reconfiguring ERSPAN and make sure that the packets redirected to DDI are not malformed.