CAST HIGHLIGHT - Github Actions -  “Error: failed to download ZIP file, please check if the URL of the repository is correct”

When user tried to scan a Github URL the  “Error: failed to download ZIP file, please check if the URL of the repository is correct” is seen. In the logs the Error "404: Not Found"  can also be seen. This error is found to occur only when accessing certain repos. Other URL's work perfectly well.1.png

2.png

 

Details

  1. Check if  putting "master" into "Git branch" works. Old repos have "master" branch which has been replaced by "main" for new repos. Please specify the branch.
  2. If it is a private repository check the access token. 

 

 

Related Articles

How to scan a Git repo with the Command Line (using Apache Ant)

How to use Github Actions to scan your applications with CAST Highlight

 

Additional Resources

CAST Highlight Troubleshooting Guides

CAST Highlight Product Documentation

 

 

 

Ticket

51857

 

Have more questions? Submit a request

Comments

Powered by Zendesk