Robocopy ERROR 31

Hi, I have a mapped SharePoint site that I copy files from with Robocopy.
I keep getting the error ERROR 31 (0x0000001F) “A device attached to the system is not functioning” and “Waiting 30 seconds… Retrying…”, and after waiting it can continue for a few files.
Any suggestions?

Hi~ @mattias,

It might be caused by a “Read-only” drive.

To copy to SharePoint, the drive property “Read-only” MUST be unchecked.
This is a Professional add-on feature.

Thank you for a very quick answer!
I’ll try this tomorrow. As a workaround I used a 1 second wait time in robocopy.