<?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: Error while importing pool in json in Horizon Desktops and Apps</title>
    <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985207#M99859</link>
    <description>&lt;P&gt;I added it in attached file as the post is removed when the content is posted in a message.&lt;/P&gt;</description>
    <pubDate>Sun, 03 Sep 2023 12:02:30 GMT</pubDate>
    <dc:creator>Rotoi</dc:creator>
    <dc:date>2023-09-03T12:02:30Z</dc:date>
    <item>
      <title>Error while importing pool in json</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985040#M99851</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When importing a pool with powershell in json format, this error appears :&lt;/P&gt;&lt;P&gt;Exception lors de l'appel de «&amp;nbsp;Desktop_Create&amp;nbsp;» avec «&amp;nbsp;2&amp;nbsp;» argument(s)&amp;nbsp;: «&amp;nbsp;ExceptionType : VMware.Hv.InvalidArgument&lt;BR /&gt;ErrorMessage : A null value is invalid.&lt;BR /&gt;ParameterName : automatedDesktopSpec.virtualCenterProvisioningSettings.virtualCenterStorageSettings.viewStorageAcceleratorSettings.viewComposerDiskTypes&amp;nbsp;»&lt;BR /&gt;&amp;nbsp;C:\Program Files\WindowsPowerShell\Modules\VMware.Hv.Helper\VMware.Hv.Helper.psm1:5008 : 7&lt;BR /&gt;+ $id = $desktop_helper.Desktop_create($services,$desktopSpecObj)&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException&lt;BR /&gt;+ FullyQualifiedErrorId : VimException&lt;/P&gt;&lt;P&gt;This seems related to a null value in the json file ?&lt;/P&gt;&lt;P&gt;The property automatedDesktopSpec.virtualCenterProvisioningSettings.virtualCenterStorageSettings.viewStorageAcceleratorSettings.viewComposerDiskTypes is not null for this pool.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 01 Sep 2023 14:53:26 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985040#M99851</guid>
      <dc:creator>Rotoi</dc:creator>
      <dc:date>2023-09-01T14:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error while importing pool in json</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985197#M99856</link>
      <description>can you share the json ?</description>
      <pubDate>Sun, 03 Sep 2023 09:04:14 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985197#M99856</guid>
      <dc:creator>RetouwNL</dc:creator>
      <dc:date>2023-09-03T09:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error while importing pool in json</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985207#M99859</link>
      <description>&lt;P&gt;I added it in attached file as the post is removed when the content is posted in a message.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Sep 2023 12:02:30 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985207#M99859</guid>
      <dc:creator>Rotoi</dc:creator>
      <dc:date>2023-09-03T12:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error while importing pool in json</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985232#M99860</link>
      <description>&lt;P&gt;that's annoying, did you also ask on the github page as thats where the people are who work on the module.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Sep 2023 20:18:05 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985232#M99860</guid>
      <dc:creator>RetouwNL</dc:creator>
      <dc:date>2023-09-03T20:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error while importing pool in json</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985271#M99862</link>
      <description>&lt;P&gt;You mean here ? &lt;A href="https://github.com/vmware/PowerCLI-Example-Scripts/issues" target="_blank"&gt;https://github.com/vmware/PowerCLI-Example-Scripts/issues&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Yes I did. Still no reply yet.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 09:51:13 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985271#M99862</guid>
      <dc:creator>Rotoi</dc:creator>
      <dc:date>2023-09-04T09:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error while importing pool in json</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985278#M99863</link>
      <description>&lt;P&gt;there indeed, I stopped supporting the module years ago but there are some folks that still keep improving it. Imho the best way is to switch completely to the rest api's&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 11:23:10 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985278#M99863</guid>
      <dc:creator>RetouwNL</dc:creator>
      <dc:date>2023-09-04T11:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error while importing pool in json</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985299#M99867</link>
      <description>&lt;P&gt;What do you mean by switching to the rest api's ?&lt;/P&gt;&lt;P&gt;I'm looking for a way to export pools from a connection server then import them in another one. Hence the use of the hv.helper module. That could be done with that rest api ?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 14:00:59 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985299#M99867</guid>
      <dc:creator>Rotoi</dc:creator>
      <dc:date>2023-09-04T14:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error while importing pool in json</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985306#M99868</link>
      <description>&lt;P&gt;absolutely it's what I did here:&amp;nbsp;&lt;A href="https://www.retouw.nl/2021/12/08/creating-desktop-pools-using-the-horizon-rest-api-with-powershell/" target="_blank" rel="noopener"&gt;https://www.retouw.nl/2021/12/08/creating-desktop-pools-using-the-horizon-rest-api-with-powershell/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You might need to play a bit with things but this is how I created my example.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 14:34:40 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985306#M99868</guid>
      <dc:creator>RetouwNL</dc:creator>
      <dc:date>2023-09-04T14:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error while importing pool in json</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985316#M99871</link>
      <description>&lt;P&gt;When executing get command on the desktop pools inventory, this gives the error :&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;401&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN&gt;Error: Unauthorized&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;
  &lt;SPAN&gt;"status"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"UNAUTHORIZED"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;
  &lt;SPAN&gt;"timestamp"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;1693848140815&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;
  &lt;SPAN&gt;"error_message"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"Authentication token not found"&lt;/SPAN&gt;
&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;There is no log in section on that page&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 15:25:44 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985316#M99871</guid>
      <dc:creator>Rotoi</dc:creator>
      <dc:date>2023-09-04T15:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error while importing pool in json</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985318#M99872</link>
      <description>&lt;P&gt;there is a way to do that by using the api call (top most section) but I made a short script that logs in for you and puts a login token on your clipboard&amp;nbsp;&lt;A href="https://www.retouw.nl/2020/08/26/using-the-horizon-8-swagger-page/" target="_blank"&gt;https://www.retouw.nl/2020/08/26/using-the-horizon-8-swagger-page/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 15:34:57 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985318#M99872</guid>
      <dc:creator>RetouwNL</dc:creator>
      <dc:date>2023-09-04T15:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error while importing pool in json</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985326#M99873</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;I got the export of the desktop pools in a json file from the get command, when using POST to import it in another connection server, this gives this error.&lt;/P&gt;&lt;P&gt;Error 400 : bad request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;TD&gt;&lt;DIV class=""&gt;&lt;P&gt;Error: Bad Request&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;H5&gt;Response body&lt;/H5&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Download&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;  &lt;SPAN class=""&gt;"timestamp"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"2023-09-04T16:08:17.734+00:00"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;  &lt;SPAN class=""&gt;"status"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;400&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;  &lt;SPAN class=""&gt;"error"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Bad Request"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;  &lt;SPAN class=""&gt;"path"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"/rest/inventory/v1/desktop-pools"&lt;/SPAN&gt;
}&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;H5&gt;Response headers&lt;/H5&gt;&lt;PRE&gt;&lt;SPAN class=""&gt; access-control-allow-credentials: true &lt;/SPAN&gt;&lt;SPAN class=""&gt; access-control-allow-origin: https://********** &lt;/SPAN&gt;&lt;SPAN class=""&gt; cache-control: no-cache,no-store,max-age=0,must-revalidate &lt;/SPAN&gt;&lt;SPAN class=""&gt; content-security-policy: default-src 'self';connect-src 'self' https:;font-src 'self' data:;img-src 'self' data:;script-src 'self';style-src 'self' 'unsafe-inline';frame-ancestors 'none' &lt;/SPAN&gt;&lt;SPAN class=""&gt; content-type: application/json &lt;/SPAN&gt;&lt;SPAN class=""&gt; expires: 0 &lt;/SPAN&gt;&lt;SPAN class=""&gt; pragma: no-cache &lt;/SPAN&gt;&lt;SPAN class=""&gt; strict-transport-security: max-age=31536000 ; includeSubDomains &lt;/SPAN&gt;&lt;SPAN class=""&gt; transfer-encoding: chunked &lt;/SPAN&gt;&lt;SPAN class=""&gt; vary: Origin &lt;/SPAN&gt;&lt;SPAN class=""&gt; x-content-type-options: nosniff &lt;/SPAN&gt;&lt;SPAN class=""&gt; x-frame-options: DENY &lt;/SPAN&gt;&lt;SPAN class=""&gt; x-xss-protection: 1; mode=block &lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Sep 2023 16:11:10 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985326#M99873</guid>
      <dc:creator>Rotoi</dc:creator>
      <dc:date>2023-09-04T16:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error while importing pool in json</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985328#M99874</link>
      <description>&lt;P&gt;So by default, when using the get command from the web page, there is only minimal information that is extracted from the pools ?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 16:47:55 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985328#M99874</guid>
      <dc:creator>Rotoi</dc:creator>
      <dc:date>2023-09-04T16:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error while importing pool in json</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985363#M99876</link>
      <description>&lt;P&gt;it has all the info from the pool in the json but some parts you will need to remove as they are unneeded. In my blog post I only went for the bare essentials for my pools but you have to play with what is required in your environment.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 05:59:48 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-while-importing-pool-in-json/m-p/2985363#M99876</guid>
      <dc:creator>RetouwNL</dc:creator>
      <dc:date>2023-09-05T05:59:48Z</dc:date>
    </item>
  </channel>
</rss>

