Qlik-Cli-Windows icon indicating copy to clipboard operation
Qlik-Cli-Windows copied to clipboard

New-QlikNode success, but throws error

Open pajo79 opened this issue 2 years ago • 0 comments

I successfully create a node using Qlik-Cli. However, even if the node is created with the correct config I receive a error message:

Invoke-RestMethod : The remote server returned an error: (400) Bad Request. At C:\Program Files\WindowsPowerShell\Modules\Qlik-Cli\1.21.1\functions\core.ps1:66 char:23

  • ... $result = Invoke-RestMethod @paramInvokeRestMethod @params
  • CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
  • FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

Command: New-QlikNode -hostname testHostName -name devnode -nodePurpose Development -verbose

Originally reported in https://community.qlik.com/t5/Deployment-Management/Qlik-Cli-creating-node/m-p/1950623#M22602

pajo79 avatar Jul 01 '22 07:07 pajo79