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
VMware Cloud Foundation 9.0
The issue is with using shortname or FQDN in the option --sddc-manager-fqdn
This is resolved in future VCF release.
Workaround:
./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
./vcf-download-tool binaries upload --depot-store=/download/directory/ --sddc-manager-fqdn=<sddc manager short name> --sddc-manager-user=admin@local
./vcf-download-tool binaries upload --depot-store=/opt/vmware/vcf/lcm/vcf-download --sddc-manager-fqdn=sddc-mgr --sddc-manager-user=admin@local