Authentication errors
This section lists potential authentication errors that you might encounter when using Veracode products to access the Veracode Platform and provides recommended actions for resolving them.
This isn't a complete list of all possible errors.
General authentication errors
Peer not authenticated error
Veracode API credentials file is invalid. Ensure your file is configured correctly.
Veracode could not validate your API credentials
empty id or key in credentials file
Credentials file does not exist
Unable to authenticate with Veracode. Ensure your API credentials are valid.
Credentials validation failed: error validating id and key
Error communicating with Identity API
No regions available for authentication.
Recommended actions
- Check your network connectivity and internet connection.
- Sign in to Veracode Platform and confirm your account is active.
- Ensure the required IP addresses and domains (region-specific) for the Veracode products you're using are on your organization's allowlist. For example, to use the Veracode integrations, such as the APIs or IDE plugins,
api.veracode.<your_region_domain>must be on your allowlist. - Verify that your IP address is in the list or range of addresses in the Allowed IP Addresses field of your user account login settings. If the IP range is set incorrectly, edit the Allowed IP Addresses field to include the IP address of the location of your login.
- If you're using an integration that attempts to connect over TLS 1.0 or 1.1, see Use TLS with Veracode integrations.
- If you're using Veracode API credentials (HMAC or OAuth Client Credentials), see the troubleshooting steps.
- If you're using Pipeline Scan and receive a
401or403error, see Veracode Pipeline Scan errors. - Ensure your system date and time are correct. Authentication fails if the system time of the client and the server are substantially out of sync. To check your system time, compare it with actual time at time.is.
- Ensure your account type and roles are correct. A role or account error can sometimes be mistaken for a larger authentication problem.
- Retry authenticating with Veracode. If you're using the Veracode Scan IDE plugins, rerun the environment checks. Optionally, remove the
veracode.ymlfile from yourhomedirectory and try again. - If you continue to see authentication errors, contact Veracode Technical Support.