Skip to main content

SCM and CI/CD errors

This section lists potential errors that you might encounter when using the SCM or CI/CD integrations and provides recommended actions for resolving them.

This isn't a complete list of all possible errors.

Veracode Azure DevOps Extension​

Upload errors during builds​

Recommended actions

  • Before uploading to Veracode, package the application files in a ZIP archive that meets the Veracode upload requirements. Review the prescan results for unsupported file types or other errors.
  • After prescan, resolve any fatal errors as described in Fatal error blocks SAST scan after prescan.
  • If you choose not to resolve the errors, remove the modules that have errors by using one of these options:
  • Ensure your binaries are in the default location, or modify the default location system variable $(build.artifactstagingdirectory) if you require your files to be in a different location. For example, if your files have a different pathname and are in a bin folder, you can modify your system variable to look like this: $(build.sourcesdirectory)<pathname>/bin.

Microsoft provides pipeline build steps for creating a folder with only the files that Veracode requires for scanning. See the Copy Files task and Delete Files task in the pipeline documentation on the Azure documentation.

Veracode is taking longer than expected to load​

Recommended actions

Clear your browser cache. Then, select the Veracode Scan Summary tab again.

Veracode Jenkins Plugin​

Access errors​

An app_id could not be located for application profile
Access denied

Recommended actions

  • Ensure your user account has permissions to create an application profile, such as the Upload API role for API user accounts or the Creator role for UI user accounts.
  • Confirm that the Veracode application profile for the specified application name is visible to the specified teams.

The policy status 'Did Not Pass' is not passing. Unable to continue.​

This message indicates that you selected the Wait for scan to complete checkbox in your job configuration and the scan failed to pass your policy.

Recommended actions

If you want builds for scans that fail policy to complete, you must deselect that checkbox.

If you use the Veracode CLI in your pipeline, exit code 3 means the scan completed but didn't pass policy. See CLI exit codes.

Test connection action fails​

Recommended actions

  • Verify that your Jenkins server has internet connectivity outside the Jenkins plugin environment. To test connectivity, download and run the Java API wrapper on the Jenkins server.
  • Verify the proxy settings to see if a proxy is required.
  • If a proxy is not required, you can test for an external internet connection by using cURL to run the getapplist.do call.
  • Ensure you have added the required domains for your Veracode account to the allowlist for your organization. Refer to the complete list of domains and IP addresses to add to your allowlist.

Unknown vid and vkey​

Recommended actions

See step 23 in Add a job for SAST scanning.

Build step Upload and Scan with Veracode marked build as failure Finished: FAILURE​

Recommended actions

Ensure you're using a supported Java version. The Java API wrapper and the Veracode Jenkins Plugin require Java version 7 or later.