08-05-2021 08:03 PM
I am trying to run CTR & Threat responseV2 casebook, when we run workflows getting below error:
1.CTR Casebook:
action execution errored for type python3.script err:code:400 message::Error: raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2.Threat Response V2:
id: 01Q8UDHXYY6J51uChrBq8OoxkuFHjz5CB8W, wf_instance_id: 01Q8UDHWUNPN62th0uSjYDn1x4FPsOGiFst, error: Failed to create new casebook
Status code: 200
Response body:
Please suggest how can we create workflows.
Solved! Go to Solution.
08-10-2021 09:38 AM
It looks like the "Threat Response v2 - Create Casebook" atomic may have worked properly but failed because the API returned a 200 instead of a 201. When you create a casebook using the Threat Response API, we expect a 201/Created response. In this case, it looks like you may have gotten a 200/Success instead. Did you look in your SecureX ribbon to see if a casebook was actually created or not? We may need to adjust the atomic to also accept a 200/Success in addition to 201/Created.
08-10-2021 09:38 AM
It looks like the "Threat Response v2 - Create Casebook" atomic may have worked properly but failed because the API returned a 200 instead of a 201. When you create a casebook using the Threat Response API, we expect a 201/Created response. In this case, it looks like you may have gotten a 200/Success instead. Did you look in your SecureX ribbon to see if a casebook was actually created or not? We may need to adjust the atomic to also accept a 200/Success in addition to 201/Created.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide