CAST HIGHLIGHT - CLI - Error code 3 - Command Line techno discovery error

While running the highlight scan for an application  it's giving (3) Command Line techno discovery error.

Action Plan

  1. Check if it is a network path issue. Check whether the machine from where the command line is running can access the remote files.
  2. Check the length of network path. Use a shorter path (<255 characters) to see if it solves the issue.
  3. Check the HLAutomation.log available at the workingdir of the scan. Check in the log if this line is present
    2023-08-23 17:14:52,180 INFO perl: error: Cannot run program ""C:\Program Files\CAST\HighlightAgent\strawberry\perl\bin\perl.exe"": CreateProcess error=2, Le fichier spécifié est introuvable (
    The specified file can not be found)

Perl is not found. To install Perl do one of the following:

Install the Highlight Agent and get perl from there. Or

Install a compatible version of Perl with the appropriate modules and then use the --perlInstallDir flag



26277, 43072


Related Articles


CAST HIGHLIGHT - CLI - Error code 4 - Command Line analysis error

CAST HIGHLIGHT - CLI - Error code 5 - Command Line result upload error

CAST HIGHLIGHT - CLI - Error code 6 - Command Line source dir or output dir validation error

CAST HIGHLIGHT - CLI - Docker - Results Upload - Upload failed with code 5 when using Docker

CAST HIGHLIGHT - CLI - ERROR: Failed to fetch company with id when using  --basicAuth

CAST HIGHLIGHT - CLI - Scan fails for an application with an error Failed to fetch company with id XXXSTDERR

CAST HIGHLIGHT - CLI - ERROR Failed to upload submission for application result id='XXXXXX' with company [name='XXX',id='XXXX'] and application [name='XXX',id=XXXXX] message: 400 highlight.server.client.campaignApplication.update.NoAnalysis

CAST HIGHLIGHT - Results Upload - CLI - UTF-8 "\xE7" does not map to Unicode at perl/ line xx

Highlight Automated Code Scan (Command Line)



Have more questions? Submit a request


Powered by Zendesk