Was this resolved? I am also running 3.1.1 and printing from the SD Card on the PanelDue.
I only seem to get the error if the gcode being printed is > 30MB
Does this work over Wifi now as well? I know originally it was said that Windows 10 and 3D printers was around USB, but wondered if this had changed?.