<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can't get qlik.exe CLI to make a 'PUT' call in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2043811#M18199</link>
    <description>&lt;P&gt;ok... so it looks like the --body should take the Json input but for some reason does not,&amp;nbsp;it is also really picky about the Encoding used if dumping to a file...&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;$ObjID = "123456789"
$BaseAPI = "/v1/data-connections"
$API = "$($BaseAPI)/$($ObjID)"
#Get the DataConnection
$QSCDataconnection = .\qlik.exe raw get $API|ConvertFrom-Json

#Make changes to DC here
$QSCDataconnection.qName = "$($QSCDataconnection.qName)_modified"
$QSCDCJson = ConvertTo-Json -InputObject $QSCDataconnection -Depth 5 -Compress

##This Should work, but does not.
#.\qlik.exe raw put $($API) --body $($QSCDCJson)

#Workaround Dump to temp file with UTF8 Encoding (not UTF8BOM)
[system.io.FileInfo]$TempFile = [System.IO.Path]::GetTempFileName()
[System.IO.File]::WriteAllLines($TempFile.FullName, $QSCDCJson, [System.Text.UTF8Encoding]::new($False))
.\qlik.exe raw put $($API) --body-file $TempFile.FullName
$TempFile.delete()
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2023 12:51:02 GMT</pubDate>
    <dc:creator>Marc</dc:creator>
    <dc:date>2023-03-01T12:51:02Z</dc:date>
    <item>
      <title>Can't get qlik.exe CLI to make a 'PUT' call</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2043393#M18192</link>
      <description>&lt;P&gt;I am having some trouble with the qlik.exe cli&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I should be able to make a call like : &lt;STRONG&gt;qlik raw put $pathtoAPI --body-values $hashtable&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot make this call. I get an error every time. I will share my code.&lt;/P&gt;
&lt;P&gt;We can use the Data Connections API as an example:&amp;nbsp;&lt;A href="https://qlik.dev/apis/rest/data-connections/#%23%2Fentries%2Fv1%2Fdata-connections-get" target="_blank" rel="noopener"&gt;Data connections | Qlik Developer Portal&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;#Variables I use&lt;/P&gt;
&lt;P&gt;$APITenant = "&lt;A href="https://thenameofmyqliktenant.com" target="_blank" rel="noopener"&gt;https://thenameofmyqliktenant.com&lt;/A&gt;"&lt;/P&gt;
&lt;P&gt;$APIEndpoint = "/v1/data-connections"&lt;/P&gt;
&lt;P&gt;$apikey = "secretkey123"&lt;/P&gt;
&lt;P&gt;$TargetDataConnection = $APIEndpoint+"/"+{qID of the targeted Data Connection}&amp;nbsp;&lt;/P&gt;
&lt;P&gt;## Calls (keep in mind my qlik context is already set)&lt;/P&gt;
&lt;P&gt;qlik raw get $TargetDataConnection | Convertfrom-json&amp;nbsp;&lt;/P&gt;
&lt;P&gt;## I now build a form as a hashtable for the body call later&lt;/P&gt;
&lt;P&gt;$hashtable =&amp;nbsp;@{}&amp;nbsp;&lt;/P&gt;
&lt;P&gt;## End of script for now.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to the Data-Connections API, I should be to build a hash table (key=value, which that colde '@{}' does) with all of the required data listed in the under the 'request' for the 'put' command on the API web page. I include all of those in the $hashtable, and make the call like this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;qlik raw put&amp;nbsp;$TargetDataConnection&amp;nbsp; --body-value $hashtable&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This call doesn't work.&amp;nbsp;&lt;BR /&gt;Before I share the error, I wanted to share the qlik --help for this call&lt;/P&gt;
&lt;P&gt;Usage:&lt;BR /&gt;qlik raw &amp;lt;get/put/patch/post/delete&amp;gt; v1/url [flags]&lt;/P&gt;
&lt;P&gt;Examples:&lt;BR /&gt;qlik raw get v1/items --query name=ImportantApp&lt;/P&gt;
&lt;P&gt;Flags:&lt;BR /&gt;--body string The content of the body as a string&lt;BR /&gt;--body-file string A file path pointing to a file&lt;BR /&gt;containing the body of the http request&lt;BR /&gt;--body-values stringToString A set of key=value pairs that well be&lt;BR /&gt;compiled into a json object. A dot&lt;BR /&gt;(.) inside the key is used to&lt;BR /&gt;traverse into nested objects. The key&lt;BR /&gt;suffixes :bool or :number can be&lt;BR /&gt;appended to the key to inject the&lt;BR /&gt;value into the json structure as&lt;BR /&gt;boolean or number respectively.&lt;BR /&gt;(default [])&lt;/P&gt;
&lt;P&gt;The error I get when using a hashtable is:&lt;/P&gt;
&lt;P&gt;C:\QlikCLI\qlik.exe : Error: invalid argument "System.Collections.Hashtable" for "--body-values" flag: System.Collections.Hashtable must be formatted as &lt;BR /&gt;key=value&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ C:\QlikCLI\qlik.exe raw PUT $APIDCEndpoint --body-values $hashtable --ver ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : NotSpecified: (Error: invalid ...ed as key=value:String) [], RemoteException&lt;BR /&gt;+ FullyQualifiedErrorId : NativeCommandError&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;## I am pretty sure my hashtable is created properly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error I get if I don't use a hashtable is:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error: {&lt;BR /&gt;"errors": [&lt;BR /&gt;{&lt;BR /&gt;"code": "DCERROR-0010",&lt;BR /&gt;"title": "Bad or invalid request",&lt;BR /&gt;"status": 400,&lt;BR /&gt;"detail": "Binding body failed: invalid character '@' looking for beginning of value"&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"traceId": "0000000000000000ce63fdcb7bf3d0aa"&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Someone Help!! Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 20:39:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2043393#M18192</guid>
      <dc:creator>Qlik_Administrator_Dude</dc:creator>
      <dc:date>2023-02-28T20:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get qlik.exe CLI to make a 'PUT' call</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2043455#M18194</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In the Error.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;C:\QlikCLI\qlik.exe : Error: invalid argument "System.Collections.Hashtable" for "--body-values"&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;Essentially you are trying to pass a Hashtable object to qlik.exe on the commandline. as the commandline only accepts text strings this is not going to work.&lt;/P&gt;
&lt;P&gt;you need to convert the Hashtable to json and pass the json to the exe.&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;## Get the DataConnection
$QSCDataconnection = $(qlik raw get $TargetDataConnection) | Convertfrom-json 

## Make the required changes here
$QSCDataconnection

## Convert the Object to a string and post the changes back
$QSCDCJson = ConvertTo-Json -InputObject $QSCDataconnection -Depth 5
qlik raw put $TargetDataConnection --body-value $QSCDCJson &lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 28 Feb 2023 22:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2043455#M18194</guid>
      <dc:creator>Marc</dc:creator>
      <dc:date>2023-02-28T22:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get qlik.exe CLI to make a 'PUT' call</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2043496#M18195</link>
      <description>&lt;P&gt;Hey thanks for the code Marc. I tried it out and here is the error I received. What do you think?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C:\QlikCLI\qlik.exe : Error: unknown flag: --body-value&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ C:\QlikCLI\qlik.exe raw PUT $APIDCEndpoint --body-value $QSCDCJson&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : NotSpecified: (Error: unknown flag: --body-value:String) [], RemoteException&lt;BR /&gt;+ FullyQualifiedErrorId : NativeCommandError&lt;BR /&gt;&lt;BR /&gt;If this should be an argument and not a flag you can&lt;BR /&gt;specify so by using double dash (--), for example:&lt;BR /&gt;qlik raw [flags] -- --body-value&lt;BR /&gt;Note that in this case all flags must be provided&lt;BR /&gt;before the double dash (--).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are my code modifications&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;## Marc's code
$QSCDataconnection = $(C:\QlikCLI\qlik.exe raw GET $TargetDataConnection) | Convertfrom-json

## my edit 1
$QSCDataconnection | Add-Member -MemberType NoteProperty -Name qConnectionSecret -Value 'FooBar'

## Marc's Code 
$QSCDCJson = ConvertTo-Json -InputObject $QSCDataconnection -Depth 5
C:\QlikCLI\qlik.exe raw PUT $TargetDataConnection --body-value $QSCDCJson&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks Marc!!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 01:31:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2043496#M18195</guid>
      <dc:creator>Qlik_Administrator_Dude</dc:creator>
      <dc:date>2023-03-01T01:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get qlik.exe CLI to make a 'PUT' call</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2043638#M18196</link>
      <description>&lt;P&gt;Hello, I believe Marc is correct that the hashtable needs to be converted into JSON before being passed to qlik-cli. The error you are receiving now is due to a typo in the parameter name &lt;STRONG&gt;--body-values.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;$QSCDCJson = ConvertTo-Json -InputObject $QSCDataconnection -Depth 5
C:\QlikCLI\qlik.exe raw PUT $TargetDataConnection --body-values $QSCDCJson&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 08:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2043638#M18196</guid>
      <dc:creator>mow</dc:creator>
      <dc:date>2023-03-01T08:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get qlik.exe CLI to make a 'PUT' call</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2043748#M18197</link>
      <description>&lt;P&gt;Hello mow,&lt;/P&gt;
&lt;P&gt;Thank you for the response. Originally I didn't convertto-json because of this statement in the --body-value help:&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;"--body-values stringToString A set of key=value pairs that well be&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;compiled into a json object. "&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I compiled the Hash Table into JSON as Markcsuggested. It seems that the 'qConnectionstatement' value is causing an issue. Can you help me understand what the required values are on the form?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In other API calls, I have to 'Convertto-JSON' for any nested lists first, then add the json to the new list, then convert the new list to JSON. I was wondering if some sort of stepped approach might be needed as the connection string looks like a nested list in the array.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I thought it might help if I provided my values. FYI I did try to convert the 'qConnectionstatement' string to json and basically got the same error. Thanks for the help finding the syntax error (I may have changed it a little for privacy):&amp;nbsp;&lt;BR /&gt;created : 2023-02-22T23:46:24.538Z&lt;BR /&gt;datasourceID : File_AmazonS3ConnectorV2&lt;BR /&gt;id : 123456789&lt;BR /&gt;privileges : {change_owner, change_space, delete, list...}&lt;BR /&gt;qArchitecture : 0&lt;BR /&gt;qConnectStatement : CUSTOM CONNECT TO "provider=QvWebStorageProviderConnectorPackage.exe;sourceType=File_AmazonS3ConnectorV2;region=us-east-1;bucketName=testbucketdontuse230222;"&lt;BR /&gt;qCredentialsID : 123-456-78910&lt;BR /&gt;qEngineObjectID : 123456789&lt;BR /&gt;qID : 123456789&lt;BR /&gt;qLogOn : 1&lt;BR /&gt;qName : Amazon_S3_V2_Testbucket2302&lt;BR /&gt;qSeparateCredentials : False&lt;BR /&gt;qType : QvWebStorageProviderConnectorPackage.exe&lt;BR /&gt;tenant : mytenantisamazing&lt;BR /&gt;updated : 2023-02-22T23:46:24.538Z&lt;BR /&gt;user : qlikadministrationdude&lt;BR /&gt;version : V1&lt;BR /&gt;qConnectionSecret : FooBar&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 12:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2043748#M18197</guid>
      <dc:creator>Qlik_Administrator_Dude</dc:creator>
      <dc:date>2023-03-01T12:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get qlik.exe CLI to make a 'PUT' call</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2043811#M18199</link>
      <description>&lt;P&gt;ok... so it looks like the --body should take the Json input but for some reason does not,&amp;nbsp;it is also really picky about the Encoding used if dumping to a file...&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;$ObjID = "123456789"
$BaseAPI = "/v1/data-connections"
$API = "$($BaseAPI)/$($ObjID)"
#Get the DataConnection
$QSCDataconnection = .\qlik.exe raw get $API|ConvertFrom-Json

#Make changes to DC here
$QSCDataconnection.qName = "$($QSCDataconnection.qName)_modified"
$QSCDCJson = ConvertTo-Json -InputObject $QSCDataconnection -Depth 5 -Compress

##This Should work, but does not.
#.\qlik.exe raw put $($API) --body $($QSCDCJson)

#Workaround Dump to temp file with UTF8 Encoding (not UTF8BOM)
[system.io.FileInfo]$TempFile = [System.IO.Path]::GetTempFileName()
[System.IO.File]::WriteAllLines($TempFile.FullName, $QSCDCJson, [System.Text.UTF8Encoding]::new($False))
.\qlik.exe raw put $($API) --body-file $TempFile.FullName
$TempFile.delete()
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 12:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2043811#M18199</guid>
      <dc:creator>Marc</dc:creator>
      <dc:date>2023-03-01T12:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get qlik.exe CLI to make a 'PUT' call</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2044167#M18208</link>
      <description>&lt;P&gt;Marc,&lt;/P&gt;
&lt;P&gt;Your code was very helpful. It seems my PUTs work with the UTF8 modification as you suggested. That was great!&lt;/P&gt;
&lt;P&gt;when I update the 'qconnection' key with this code, it does take it, but the connection doesn't work after. It will throw an error in the Web Interface that says the parameter isn't formatted correctly or has a misplaced semicolon. Any additional advice there? Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 23:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2044167#M18208</guid>
      <dc:creator>Qlik_Administrator_Dude</dc:creator>
      <dc:date>2023-03-01T23:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get qlik.exe CLI to make a 'PUT' call</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2044308#M18214</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/147685"&gt;@Qlik_Administrator_Dude&lt;/a&gt;&amp;nbsp;- a heads up that if if you're trying to create a data connection, or update a credential in a data connection, then this isn't possible via the data-connections API today. It supports updating of some metadata on a connection, and creation of REST connections with no credentials.&lt;/P&gt;
&lt;P&gt;We are currently working on a new API to support creation and management of data connections in Qlik Cloud.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 08:39:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2044308#M18214</guid>
      <dc:creator>Dave_Channon</dc:creator>
      <dc:date>2023-03-02T08:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get qlik.exe CLI to make a 'PUT' call</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2044437#M18217</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1870"&gt;@Dave_Channon&lt;/a&gt;&amp;nbsp;Thanks for the reply. That is a huge bummer. I know this isn't you exactly, but I thought replying here would be most appropriate for my gripe (seriously thank you for the reply, please don't take my gripe personally, you just helped me a ton).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My Gripes:&lt;BR /&gt;1. The following values are exposed to the PUT api Endpoint, and when I call them they update the value but break the connections:&lt;/P&gt;
&lt;PRE class="language-js" tabindex="0" data-testid="code-block"&gt;&lt;CODE&gt;  "qCredentialsName": "string",
  "qConnectStatement": "string",
  "qConnectionSecret": "Any string",&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. This is either a typo, or it doesn't work. There isn't an endpoint I can reach "data0connections". Is this the 'new' endpoint you were mentioning?&lt;/P&gt;
&lt;P&gt;For GET&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR class="listItem"&gt;
&lt;TD class="listItemMeta"&gt;
&lt;DIV&gt;qConnectionSecret&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV class="paramMeta"&gt;&lt;SPAN&gt;optional&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="paramBadge paramCode" data-testid="listItem-kind"&gt;string&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="listItemBody"&gt;
&lt;DIV data-testid="scriptappy-mark-content"&gt;
&lt;P&gt;String that contains connection specific secret (or password). This field will not be included in response of GET /data-connections, will only be included in the response of GET /data0connections/{qID}&lt;/P&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;For PUT&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR class="listItem"&gt;
&lt;TD class="listItemMeta"&gt;
&lt;DIV&gt;qConnectionSecret&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV class="paramMeta"&gt;&lt;SPAN&gt;optional&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="paramBadge paramCode" data-testid="listItem-kind"&gt;string&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD class="listItemBody"&gt;
&lt;DIV data-testid="scriptappy-mark-content"&gt;
&lt;P&gt;String that contains connection level secret (or password). If this field presents in request, then existing connection secret will be updated to its value. If is an empty string, then eixsting connection secret will be cleared. If this field is missing, existing secret will not be updated.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Is the UTF8 format thing we found a bug? What formats can we upload our PUTs in?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please feel free to answer any of those you can. I would appreciate it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29458"&gt;@Marc&lt;/a&gt;&amp;nbsp;You are the man!!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 12:17:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2044437#M18217</guid>
      <dc:creator>Qlik_Administrator_Dude</dc:creator>
      <dc:date>2023-03-02T12:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get qlik.exe CLI to make a 'PUT' call</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2044537#M18218</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/147685"&gt;@Qlik_Administrator_Dude&lt;/a&gt;, unfortunately I think you're suffering from several documentation issues!&lt;/P&gt;
&lt;P&gt;We should make it clear that you cannot PUT attributes relating to credentials with this API, and the &lt;EM&gt;data0connections&lt;/EM&gt; is a typo.&lt;/P&gt;
&lt;P&gt;With respect to the future API, it'll most likely be on a different path, and should provide a much cleaner way of creating and updating connections. We are currently hoping to start rolling the first parts of this in H1 23, if all goes well, and update the documentation as we go.&lt;/P&gt;
&lt;P&gt;On 3, I will defer to the judgement of&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29458"&gt;@Marc&lt;/a&gt;!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 14:49:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2044537#M18218</guid>
      <dc:creator>Dave_Channon</dc:creator>
      <dc:date>2023-03-02T14:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get qlik.exe CLI to make a 'PUT' call</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2044555#M18219</link>
      <description>&lt;P&gt;3: Qlik-CLI (qlik.exe) is written in golang the Standard Library, only supports UTF8 &amp;amp; UTF16&amp;nbsp;&lt;A href="https://pkg.go.dev/unicode/utf8@go1.20.1" target="_self"&gt;unicode/utf8&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Windows defaults to UTF8-BOM&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so unless you add a 3rd party package or write the code to detect and support UTF8-BOM it will have issues.&lt;/P&gt;
&lt;P&gt;Using Qlik-CLI on Linux or MacOS that use UTF8 by default you would not run into this... nor need the extra code to support it...&lt;/P&gt;
&lt;P&gt;So probably less a bug and more a opportunity....&lt;/P&gt;
&lt;P&gt;FWIW I add this to my PowerShell scripts when I need to write UTF8 files&amp;nbsp;&lt;A href="https://gist.github.com/Nillth/7fd7850069894ef26db88421979b4098" target="_self"&gt;Write-UTF8File.ps1&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 15:13:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2044555#M18219</guid>
      <dc:creator>Marc</dc:creator>
      <dc:date>2023-03-02T15:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get qlik.exe CLI to make a 'PUT' call</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2044621#M18221</link>
      <description>&lt;P&gt;I owe you a like a coffee, or a beer, or a coffeebeer, or something. Thanks for all the help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 17:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Can-t-get-qlik-exe-CLI-to-make-a-PUT-call/m-p/2044621#M18221</guid>
      <dc:creator>Qlik_Administrator_Dude</dc:creator>
      <dc:date>2023-03-02T17:07:43Z</dc:date>
    </item>
  </channel>
</rss>

