vmware / vrops-export

vRealize Operations Export Tool
Other
37 stars 16 forks source link

HTTP Error 422 #60

Open abdumuhaimin opened 1 year ago

abdumuhaimin commented 1 year ago

Describe the bug

While running the script, I got this error:

[pool-2-thread-4] ERROR: Error while processing resource org.apache.http.HttpException: HTTP Error: 422 Reason: 422

Reproduction steps

  1. Using Windows machine, extract the binaries to C:\
  2. Edit the vmfields.yaml file and put in the metrics that are to be measured. Add outputFormat: csv.
  3. Close & save the yaml file. Run the command .\exporttool.bat -d ..\target\samples\vmfields.yaml -u username@"auth source" -p password -H vmware.host.com -o "path/to/output"
  4. Error shown is being output image

Expected behavior

I expected the data to be processed and stored in the CSV in the path given in the command.

Additional context

No response

abdumuhaimin commented 1 year ago

Tried using "username@auth source" too, didn't work as well

prydin commented 1 year ago

Which version of the export tool and vR Ops are you running? I tried it in my lab and it worked..

abdumuhaimin commented 1 year ago

I used the latest binary version - 3.2.2. vROPS version 8.10