python-client-for-vmware-cloud-on-aws icon indicating copy to clipboard operation
python-client-for-vmware-cloud-on-aws copied to clipboard

pyVMC config show / build fails if config.ini entries are incorrect

Open fr0gger03 opened this issue 2 years ago • 0 comments

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

  1. 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

  1. 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

fr0gger03 avatar Sep 28 '23 15:09 fr0gger03