Skip to main content
Panther Knowledge Base

"TypeError: unsupported operand type(s)" error when testing a Panther-managed detection

Issue

When testing a Panther-managed detection, I am getting a TypeError: unsupported operand type(s) error.

Resolution

Update your local system (or the environment where you are conducting PAT tests) to Python 3.9. 

If you are still receiving this error after updating, please contact Support.

Cause

This error is caused when your system is running an outdated version of Python. To resolve this, we recommend updating to the latest version of Python, specifically Python 3.9. Certain operator types can generate errors if your Python installation is not up to date. By updating to Python 3.9, you should be able to overcome these issues.