Sitecore.Ship icon indicating copy to clipboard operation
Sitecore.Ship copied to clipboard

Ship returning 404 when trying to install update package

Open Prashantkp opened this issue 7 years ago • 0 comments

Ship returning 404 when trying to install update package. Here is the script i'm trying for. Invoke-WebRequest -Uri "http://mydomain/services/package/install" -Method Post -ContentType "application/x-www-form-urlencoded" -Body @{"path"="@D:\Users\Parsh\Desktop\test.update";"DisableIndexing"=$true} -UseBasicParsing -TimeoutSec 5000

And i'm getting below error. `

    404 - NotFound
    The resource you have requested cannot be found.
    We're sorry :-(




  Graphics courtesy of the awesome Matthew Inman

At line:1 char:1

  • Invoke-WebRequest -Uri "http://mydomain/services/package/inst ...
  •   + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
     eption
      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand`
    
    
    
    

I'm using .net framework 4.6.2. also doubled checked all the configuration, everything looks fine,

Appreciate your support.

Prashantkp avatar Aug 18 '17 19:08 Prashantkp