+1

Improvements for handing audio files within warewolf

Sashen 3 дня тому в Studio / Toolbox 0

Image 1183

🔹 1. Web Request Tool — Parse Error on Binary Response

  • When attempting to download a Genesys pre-signed audio file (MP3) via the Web Request tool, Warewolf throws a:

    nginxCopyEditparse error: { AudioFile }
    
  • The tool does not provide any options to specify how the response should be handled (e.g., as text, binary, or base64). It attempts to parse the response automatically.

  • 🧠 Root Cause: The tool likely assumes the response is text or structured data, and fails when encountering raw binary bytes from the audio stream.

🔹 2. GET Web Method Tool — Output Mapping Fails on File Response

  • When using the GET Web Method tool to call the same audio file URL and clicking "Generate Outputs", the following error is shown:

    pgsqlCopyEditSpecified argument was out of the range of valid values.
    Parameter name: count
    
  • Output mapping options (like assigning to object/recordset) are greyed out because the tool fails to test or build outputs from the binary response.

  • 🧠 Root Cause: Since the endpoint returns raw binary (audio/mpeg), the tool cannot generate a data structure for mapping and gracefully disables output binding.

    Image 1180 Response when trying to test get api

tool execution studio workflow variables