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

When running a CAST Highlight Scan using Command line, it failed with the below error.

 

com.castsoftware.highlight.RTExceptionWithStatus: Failed to fetch company with id='XXX'STDERR: at com.castsoftware.highlight.RTExceptionWithStatus.errUpload(RTExceptionWithStatus.java:47)STDERR: at com.castsoftware.highlight.upload.Upload.fetchCompanyId(Upload.java:67)STDERR: at com.castsoftware.highlight.upload.Upload.process(Upload.java:285)STDERR: at com.castsoftware.highlight.AnalysisPipeline.upload(AnalysisPipeline.java:128)STDERR: at com.castsoftware.highlight.AnalysisPipeline.process(AnalysisPipeline.java:41)STDERR: at com.castsoftware.highlight.CommandLine.run(CommandLine.java:254)STDERR: at com.castsoftware.highlight.HighlightAutomation.main(HighlightAutomation.java:11)STDERR: Caused by: java.lang.IllegalArgumentException: Failed to fetch company with id='xxxx'STDERR: ... 6 moreSTDERR: Caused by: org.springframework.web.client.HttpClientErrorException: 401 STDERR:

 

Solution

The Issue was because, the User id configured in the Command line, to run the Highlight scan was locked. Issue was resolved after the password was reset for the user Id using CAST-HIGHLIGHT - Web - Login - What to do if your Account gets Locked Out 

Please also check 

CAST HIGHLIGHT - Results Upload - CLI - Failed to fetch company with id='XXXX'

CAST HIGHLIGHT - CLI - Scan is failing with error code 5

 

 

Related Articles

CAST HIGHLIGHT - CLI - Error Codes

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 - Scan is failing with error code 5 

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/FileList.pm line xx

Highlight Automated Code Scan (Command Line)

 

 

Additional Resources

CAST Highlight Troubleshooting Guides

CAST Highlight Product Documentation

 

 

Zendesk Ticket Number

#28431

 

Have more questions? Submit a request

Comments

Powered by Zendesk