Uploading files and binaries using VCF Download tool fails with ERROR: Failed to create token. API status code 0. API response null
search cancel

Uploading files and binaries using VCF Download tool fails with ERROR: Failed to create token. API status code 0. API response null

book

Article ID: 404288

calendar_today

Updated On:

Products

VMware SDDC Manager VMware Cloud Foundation

Issue/Introduction

Step # 6 of Use the VMware Cloud Foundation Download Tool to Download Install Binaries fails with below error

ERROR: Failed to create token. API status code 0. API response null



Environment

VMware Cloud Foundation 9.0

Cause

The issue is with using shortname or FQDN in the option --sddc-manager-fqdn

Resolution

This is resolved in future VCF release.

 

Workaround:

  • If the failure is while using short name then use FQDN in the below command
    ./vcf-download-tool binaries upload --depot-store=/download/directory/ --sddc-manager-fqdn=<sddc manager fqdn> --sddc-manager-user=admin@local

     

    Sample
    ./vcf-download-tool binaries upload --depot-store=/opt/vmware/vcf/lcm/vcf-download --sddc-manager-fqdn=sddc-mgr.example.com --sddc-manager-user=admin@local

     

  • If the failure is while using FQDN then use shortname in the below command
    ./vcf-download-tool binaries upload --depot-store=/download/directory/ --sddc-manager-fqdn=<sddc manager short name> --sddc-manager-user=admin@local

    Sample
    ./vcf-download-tool binaries upload --depot-store=/opt/vmware/vcf/lcm/vcf-download --sddc-manager-fqdn=sddc-mgr --sddc-manager-user=admin@local