A Security Orchestration, Automation, and Response (SOAR) playbook in XSOAR (now part of Cortex XSOAR) is failing consistently at a specific task. The playbook attempts to fetch threat intelligence data from a custom API endpoint, process it, and then update a security incident in XSIAM. The error message in the XSOAR logs is 'Error: Failed to parse API response. Expected JSON, received HTML.' Which of the following debugging strategies would be most effective in quickly identifying the root cause?
正解:B,D
The error message 'Expected JSON, received HTML' strongly suggests the API call itself is returning an unexpected format. While checking the 'Content-Type' (A) and server logs (C) are valid debugging steps, the most effective and immediate way to see what was actually received by XSOAR is to inspect the raw response within the playbook's execution context. The XSOAR Debugger (B) allows for interactive inspection of task outputs, and adding a 'print' or 'log' command (D) achieves a similar goal by outputting the raw data. Both B and D directly address the core issue of understanding the malformed response. Option E is less direct for identifying the root cause of the API parsing error.