splunk-soar-connectors / proofpoint

Apache License 2.0
2 stars 4 forks source link

API Error Message Incorrect Parsing #8

Open bneises opened 11 months ago

bneises commented 11 months ago

Name of the app Proofpoint TAP

Describe the bug If an error occurs on the API call, the service returns text instead of JSON.

To Reproduce Steps to reproduce the behavior:

  1. Run action "get campaign" with an incorrect campaign ID.
  2. The app returns the following error:

    Unable to parse JSON response. Error: Error Message: Expecting value: line 1 column 1 (char 0)

Expected behavior Return the text returned by the API as is instead of trying to parse it as JSON.

Screenshots N/A

Splunk SOAR Version (please complete the following information):