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

Importing new Nodes and Virtual Proxy from Json with ERROR Invoke-RESTmethod

Open Kev-kutkin opened this issue 3 years ago • 1 comments

Hi, I am trying to migrate new nodes and virtual proxy from different server environments, server A to server B. I am using Qlik-Cli to automate it. I managed to export the content to a Json file from server A. However, I am facing the issue of importing new Nodes and also Virtual Proxy to server B from server A. The Json source's content is shown below.

virtualproxy_p1

virtualproxy_p2

The script and the ERROR that I have used and faced are shown below.

virtualproxy_script

Please advice me what is causing the error. Also, do share potential solution to allow me to import the Json content for the imports of new Node and Virtual Proxy .

Thanks.

Kev-kutkin avatar Oct 04 '21 03:10 Kev-kutkin

I suggest changing the defaultVirtualProxy to false as it is not possible to create a default virtual proxy, you may also need to remove the value for loadBalancingServerNodes as the node ID will be different for each site.

If you still have issues please run the Import-QlikObject with the -verbose switch and provide the output as this may provide useful information on the issue.

ahaydon avatar Oct 04 '21 08:10 ahaydon