##[error]Unhandled: handle is not a Buffer CopyFilesOverSSH in Azure DevOps build pipeline

Viewed 1797

We are trying to deploy file to remote server using CopyFilesOverSSH service Copy Files Over SSH task in Azure DevOps through build pipeline but getting error which is "##[error]Unhandled: handle is not a Buffer" see below image (Error). Even though File has been uploaded on remote server with Zero bytes. So we don't know why getting this error is there any permission issue on agent-job?

We would appreciate your help.

Error: enter image description here

2 Answers

Received the same error message from a consistently smooth running pipeline as well. Turned out to be a disk space issue for us.

Related