Why do I get an error in RHEV 3.5 when issuing API calls with values "0" or "1" for boolean parameters?

Solution In Progress - Updated -


  • When issuing API calls that have boolean parameters, using values 0 and 1 results in the API call failing with the following error message:
host.nics.setupnetworks(params.Action(force = 0, check_connectivity = 1, host_nics = params.HostNics(host_nic = mynics)))

status: 400
reason: Bad Request
detail: Value "1" isn't a valid boolean, it should be "true" or "false"


  • Red Hat Enterprise Virtualization 3.5.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In