Hi,
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