Splunk SOAR (f.k.a. Phantom)

Phantom : Why are we getting the error "unable to forward this search result: unhashable type: 'dict'" ?

sdubey_splunk
Splunk Employee
Splunk Employee

We are trying to forward the events to phantom via datamodel export function. when we click on save and preview , we are getting the option button "Send to Phantom". But when clicked we are getting an error "Unable to forward this search result: unhashable type: 'dict'"".

Labels (1)
Tags (1)
0 Karma
1 Solution

sdubey_splunk
Splunk Employee
Splunk Employee

splunk : 7.2.0
Phantom app Version : 2.5.4
Phantom product : Phantom 4.1.94

Fix : Dumping the browser cache generally clears this issue up.

View solution in original post

murphybeck
New Member

You're trying to use a dict as a key to another dict or in a set. That does not work because the keys have to be hashable. As a general rule, only immutable objects (strings, integers, floats, frozensets, tuples of immutables) are hashable (though exceptions are possible). So this does not work: The only types of values not acceptable as keys are values containing lists or dictionaries or other mutable types that are compared by value rather than by object identity, the reason being that the efficient implementation of dictionaries requires a key’s hash value to remain constant.

0 Karma

sdubey_splunk
Splunk Employee
Splunk Employee

splunk : 7.2.0
Phantom app Version : 2.5.4
Phantom product : Phantom 4.1.94

Fix : Dumping the browser cache generally clears this issue up.

Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...