python-client-for-vmware-cloud-on-aws
python-client-for-vmware-cloud-on-aws copied to clipboard
pyVMC config show / build fails if config.ini entries are incorrect
Describe the bug
If using either of the following commands, user receives 400 error if config.ini is incorrect:
pyVMC.py config show
pyVMC.py config build
Reproduction steps
- alter config.ini to contain incorrect values for refresh token, ORG ID, or SDDC ID 2.run either command:
pyVMC.py config show
pyVMC.py config build
- user will receive 400 error and program will exit ...
Expected behavior
As these commands are intended to help the user troubleshoot / build a new config file, these commands should bypass the retrieval of the access token, and simply execute.
Additional context
No response