Getting this error "Required field "obj" not provided (not @optional)"

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Getting this error "Required field "obj" not provided (not @optional)"

Gerard
Trying to edit this script https://github.com/vmware/pyvmomi/blob/master/sample/poweronvm.py

but encountering this exception "Required field "obj" not provided (not @optional)" when changing to ShutdownGuest()
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Getting this error "Required field "obj" not provided (not @optional)"

Craig
I've getting the same error.  The code works fine if the function is PowerOn or PowerOff, but with ShutdownGuest this error occurs.

Anyone have any ideas on how to fix this?
Loading...