STC Failure Occurred Mid Transfer (6, 'closehandle', 'the handle is invalid.')



This article describes the cause and possible solution for the error: STC Failure Occurred Mid Transfer (6, 'closehandle', 'the handle is invalid.')


This error typically appears when there is an issue with the ShadowSnap agent communications. This is a Python error that could signify a corrupted ShadowSnap install.



  • If this error is a result of a first time backup, reinstall the ShadowSnap agent using the PsExec utility:
  • Ensure that there are antivirus exceptions for the StorageCraft directories and services.
  • Force a differential merge from the Advanced section under the Configure Agent Settings page.
  • If the error persists, contact Datto Technical Support.

Was this article helpful?

0 out of 0 found this helpful

You must sign in before voting on this article.

Calling all Partners! We want to hear your feedback! Please participate in this quick survey and help us build a better, more-relevant Knowledge Base!

Want to talk about it? Head on over to our Community Forum!