| Puppet Version: 6.16 (PE 2019.8) Puppet Server Version: 6.12.0 *OS Name/Version:*RHEL 7 Customer is using the --compile flag with the `puppet lookup` command and they are receiving the following error:
Error: Could not run: Could not retrieve resources from the PuppetDB at **hostname**:8140: [400 Bad Request] Malformed JSON for query: %5B%22and%22%2C%5B%22%3D%22%2C%22type%22%2C%22Host6%22%5D%2C%5B%22%3D%22%2C%22exported%22%2Ctrue%5D%2C%5B%22not%22%2C%5B%22%3D%22%2C%22certname%22%2C%22**hostname**%22%5D%5D%2C%5B%22%3D%22%2C%22tag%22%2C%22**hostname**%22%5D%5D
|
This is a bit strange as the exported resources can be queried and returned from the db just fine. This was also working before upgrading to 2019.8 Desired Behavior: no errors relating to exported resources when using the --compile flag Actual Behavior: receiving the above 400 Bad Request] Malformed JSON |