While creating new Cloud Account from Cloud Assembly, gives error "Invalid Token" even if it is valid.
book
Article ID: 346006
calendar_today
Updated On:
Products
VCF Operations/Automation (formerly VMware Aria Suite)
Issue/Introduction
- Sometimes for some unknown reason, it gives an error as "Invalid Token".
- Using the curl command it accepts the token to create a new Cloud Account.
Symptoms:
1. Generating a new Token and then using it to create a new Cloud Account. Gets an error saying Invalid Token.
(From https://console.cloud.xx-xxx.vmware.com/csp/gateway/portal/#/user/tokens)
2. Copy the above token and puts the token in the following screen

3. Use the above Token to create a new Cloud Account.
It gives the error “Invalid Token” when clicking the Apply Token button as shown below:

Environment
VMware Aria Automation 8.12.x
VMware vRealize Automation 8.x
Resolution
There is a workaround.
Workaround:
- After generating the Token from the above steps, apply the Token to create a new Cloud Account with the following curl command:
curl -s -X GET \
-H "Content-Type: application/json" \
-H "csp-auth-token: {csp-auth-token}" \
Additional Information
Impact/Risks:
- Cannot create a new Cloud Account from Cloud Assembly.
Feedback
thumb_up
Yes
thumb_down
No