I am getting the following error when provisioning a chef node:
[2015-02-04T06:46:11-08:00] ERROR: Failed to load data bag item: "site1" "config"
==> default: Chef::Exceptions::ValidationFailed
==> default: ----------------------------------
==> default: Data Bag Items must contain a Hash or Mash!
I have verified that the data bag name config.json exists and there is an id within the data bag with the same name. Also the data bag path is set correctly in the Vagrant file.
config.json
{
"id": "config",
"username": "user",
"password": "pwd"
}
The JSON is valid.
UPDATE. Issue on Chef client 12.0.1 and 12.0.3. Does not occur when downgrading to 11.18.0.