-
code:
|
Beta Was this translation helpful? Give feedback.
Answered by
jshcodes
Jul 12, 2022
Replies: 1 comment
-
Hi @NSH531 - Could you provide us the error response and a little more detail regarding what you're trying to return? (It appears to be a dictionary containing the full result from multiple API operations.) Just guessing, but I expect one of the payloads is malformed, potentially this one: j=falconpy.APIHarness(client_id=client_id,client_secret=secret).command("query_hosts",filter='DEVICE_ID') The correct syntax for this filter would be: j=falconpy.APIHarness(client_id=client_id,client_secret=secret).command("query_hosts",filter="device_id:'DEVICE_ID'") It also appears we are repeatedly recreating the Uber Class object, this shouldn't be required and is round tripping to the API unnecessarily.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jshcodes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @NSH531 -
Could you provide us the error response and a little more detail regarding what you're trying to return? (It appears to be a dictionary containing the full result from multiple API operations.)
Just guessing, but I expect one of the payloads is malformed, potentially this one:
The correct syntax for this filter would be:
It also appears we are repeatedly recreating the Uber Class object, this shouldn't be required and is round tripping to the API unnecessa…