Hi All,
I'm using the Box Powershell SDK and I'm running into an issue with the "Move-BoxRootFolder" function. If the user that I want to move owns a lot of content, the request will timeout. I'm not sure if this is an issue with Powershell or with the Box API. Is anyone else having any timeout issues on long running tasks? Here's the actual error message that is returned:
Invoke-RestMethod :
Server Connection Closed
Server Connection Closed
Description: The server requested closed the connection before
the transaction was completed.
At line:363 char:15
+ ... $return = Invoke-RestMethod -Uri $uri -Method Put -Headers $headers ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand