Giter VIP home page Giter VIP logo

Comments (4)

GustavGager avatar GustavGager commented on June 20, 2024

For anyone reading this. This is NOT an issue with Qlik CLI. The error was becuase i did not convert $proxy object back to JSON.
Using this, it works fine!
Invoke-QlikPut -path $path -body ($Proxy | ConvertTo-Json -Compress -Depth 100);

from qlik-cli-windows.

Nillth avatar Nillth commented on June 20, 2024

Note: If you have more than one Proxy returned by the first Invoke-QlikGet

$proxies = Invoke-QlikGet -path "/qrs/proxyservice";
you will have issues with the $path variable set on the next line
$path = "/qrs/proxyservice/" + $proxies.id;
you may want to filter the returned $proxies to make sure you are setting the SSL Thumbprint on the correct proxy service

from qlik-cli-windows.

GustavGager avatar GustavGager commented on June 20, 2024

Im still having issues with this,
It works on our internal testserver but i cannot get it working on some of our customers servers.
The only difference i can find that might be relevant is that we use Forms authentication. But that is a virtual proxy and should not be relavant to this.
All theese servers are single-node deployments and therefor only have one proxy.

I have tried reading the entire JSON object from the API with a qlik-get and stored it in a varible and then use qlik-put to update it with the same value, but it still doesnt work. Do i need to reformat the text in any other way? Can it be related to date formats and stuff like that??

from qlik-cli-windows.

ahaydon avatar ahaydon commented on June 20, 2024

the responses are reformatted for readability, this causes a problem when sending the data back to the API. Try using Get-QlikProxy -raw $proxies.id, the -raw switch prevents the response being formatted. You can also switch off response formatting by setting $rawOutput = $true.

from qlik-cli-windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.