Skip to main content
Panther Knowledge Base

How can I resolve the error "None should be instance of 'dict'" in panther analysis tool?


When uploading or testing via panther analysis tool, I get an error for one or more of my YAML files:

                None should be instance of 'dict'


Most often, this error is caused by the YAML file having no contents. Ensure that any changes you've made to the file have been saved before running panther analysis tool.


When panther analysis tool loads an empty file, it reads the whole file as a single None value. When the file has YAML content, it's interpreted as a dict object.


  • Was this article helpful?