The resource can be the share, make sure the drive isn't full, or that it has 999 files in it.
The 999 file sthing happens to lots of devices due to naming. If the default filename is doc.pdf, the next scan will be doc001.pdf, when it gets to doc999.pdf it cannot go further. So empty the folder and try again, or rename the scan file and try again.