Question 330
A custom XSOAR script catches an API error and falsely returns success. Which change best addresses the reported condition?
Explanation
Correct Answer
Clear automation error contracts prevent dependent playbook tasks from trusting bad results. Success is established when an invalid test input produces a controlled failure rather than a misleading success value.
Incorrect Answers
Feed-delta jobs react to indicator changes rather than arbitrary polling frequency. That measure concerns feed-change triggered job; it does not directly handle script error contract.
Scripts define reusable operations; they do not by themselves specify a recurring schedule. That measure concerns automation script role; it does not directly handle script error contract.
This would target scheduled job role instead of the reported script error contract issue. Jobs schedule recurring playbook execution while scripts are individual reusable actions.