Sorting bits into bytes...

Bad request please verify the request parameters or credentials Resolution

If you’re configuring the VMware Cloud Foundation (VCF) management pack in Aria Operations (vRealize Operations) and you encounter a “Bad request please verify the request parameters or credentials Resolution” error, don’t panic just yet. This error can occur due to a variety of reasons, but one of the most common causes is that the SDDC Manager is blocking the IP address of vRealize Operations.

SSH into the Aria Operations and check if that indeed is the case, using this command. Be sure to add the FQDN of the SDDC Manager and the admin password:

curl --insecure 'https://<FQDN SDDC Manager>/v1/tokens' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"username" : "administrator@vsphere.local",
"password" : "####################"
}'

If this is the output of the command:

HTTP/1.1 403
Server: nginx
Date: Tue, 25 Apr 2023 06:53:45 GMT
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY

{"errorCode":"CLIENT_IP_BLOCKED","arguments":[],"message":"Client IP is blocked.","referenceToken":"Q###0"}r

 

Then the IP of Aria Operations is indeed blocked by the SDDC Manager. I wasn’t able to figure out were. But after 24 hours the connection started to work. I guess the IP got removed from some sort of block list.

Leave a Reply