Cannot create host with API: Fog::Compute::Vsphere::NotFound

I recently upgraded to 1.8.2. Now i get the error
Fog::Compute::Vsphere::NotFound when I try to create a VM.

Here is my JSON file:

{
"host": {
"name": "testhost14",
"environment_id": "12",
"hostgroup_id": "61",
"domain_id": "2",
"subnet_id": "2",
"ptable_id": "11",
"medium_id": "2",
"architecture_id": "1",
"operatingsystem_id": "2",
"puppet_proxy_id": "6",
"puppet_ca_proxy_id": "6",
"compute_resource_id": "1",
"compute_profile_id": "9",
"build": "true",
"compute_attributes":{
"start": "1",
"cpus": "2",
"corespersocket" :"2",
"memory_mb": "2048",
"cluster": "QSU",
"interfaces_attributes":{
"0":{
"type": "VirtualE1000",
"network": "network-30",
"_delete":""
},
"1":{
"type": "VirtualE1000",
"network": "network-62",
"_delete": ""
},
"2":{
"type": "VirtualE1000",
"network": "network-63",
"_delete": ""
},
"3":{
"type": "VirtualE1000",
"network": "network-36",
"_delete": ""
}
},
"path": "/Datacenters/vm/EWU",
"volumes_attributes":{
"0":{
"datastore": "esx05.qsu_SAS",
"name": "testhost14",
"size_gb": "100",
"thin": "true",
"eager_zero": "false",
"_delete": ""
}
},
"scsi_controller_type": "ParaVirtualSCSIController"
}

}
}