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.
Details
- 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.
- 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
Comments