Skip to main content
Panther Knowledge Base

Why is my Panther detection is returning a "'NoneType' object is not iterable" error?

Issue

Why is my detection returning a 'NoneType' object is not iterable error?

Resolution

To resolve this issue:

  • Please add conditionals in your detection to prevent None type objects from passing into a method that only takes strings or collections of strings.
  • Ensure that you are using the Panther detection helpers library.

Cause

This issue can occur when passing a None type object into a method that only takes string or collection of string types.

 

 

  • Was this article helpful?