vmware / PowerCLI-Example-Scripts

http://blogs.vmware.com/powercli
Other
743 stars 601 forks source link

Import-CIVAppTemplate fails #624

Closed ibeerens closed 7 months ago

ibeerens commented 7 months ago

Describe the bug

When using the Import-CIVAppTemplate command to import an OVF file in a catalog for vCloud Director the following error is thrown: Exception of type 'VMware.VimAutomation.Cloud.Views.Http.HttpUnsuccessfulRequestException' was thrown.

The percentage complete progress indicator is running and after some time the error is displayed.

Tried different versions of PowerCLI including the latest (VMware.PowerCLI 13.2.0 build 22746353). This makes no difference.

Reproduction steps

  1. Authenticate to VCD with a token
  2. Run the following command:
  3. Import-CIVAppTemplate -SourcePath -Name -Catalog

Expected behavior

The upload of the OVF file is succesfull

Additional context

No response

kamennikolov commented 7 months ago

VMware PowerCLI is not open-source and is not part of this repo. This repo is only for sample scripts and community modules. All PowerCLI issues should be reported via the official VMware channels by filing an SR as described here: https://developer.vmware.com/docs/15315/GUID-0F835722-E667-4177-A8EF-51AB15FA837E.html.