Error Catalog

The error codes in the table below describe the codes that you may encounter while working with the Snyk API or CLI. When errors are encountered using the API, they will also have an appropriate HTTP status code. If you encounter errors without an error code, use the HTTP status code to determine the appropriate action.

The service has received too many requests and will be throttled.
HTTP Status: 429
Exit Code: N/A
Help Links:

The server either does not recognize the request method, or it lacks the ability to fulfil the request.
HTTP Status: 501
Exit Code: N/A
Help Links:

The server cannot or will not process the request due to an apparent client error (e.g. malformed request syntax, size too large, invalid request message framing, or deceptive request routing).
HTTP Status: 400
Exit Code: N/A
Help Links:

The server did not receive a timely response from the upstream server.
HTTP Status: 504
Exit Code: N/A
Help Links:

Authentication failed or has not been provided.
HTTP Status: 401
Exit Code: N/A
Help Links:

An unexpected server error was encountered.
HTTP Status: 500
Exit Code: N/A
Help Links:

The language or package manager is not supported.
HTTP Status: 400
Exit Code: N/A
Help Links:

The provided manifest file could not be parsed.
HTTP Status: 400
Exit Code: N/A
Help Links:

Some of the dependencies that are expected to be in the lock file are missing - this usually indicates that the lock file is out of sync with the provided manifest file. Please re-sync the lock file and try again.
HTTP Status: 400
Exit Code: N/A
Help Links:

The provided request payload is not valid for the selected ecosystem. Please review the API documentation.
HTTP Status: 400
Exit Code: N/A
Help Links:

The build environment for the provided context could not be found. Please ensure you have created the build environment first.
HTTP Status: 404
Exit Code: N/A
Help Links:

You likely don’t have access to the Beta. To get access, you can request access to the Beta through your account manager or team.
HTTP Status: 403
Exit Code: N/A
Help Links:

Unexpected error when authenticating. Please try again, and if you continue to experience issues please contact support.
HTTP Status: 500
Exit Code: N/A
Help Links:

Please make sure that the purl you’ve provided is valid. Please see the Package URL specification link for further information.
HTTP Status: 400
Exit Code: N/A
Help Links:

You have requested a package type which requires a namespace (eg. maven group id). Please supply the namespace in order to retrieve the package correctly.
HTTP Status: 400
Exit Code: N/A
Help Links:

Ensure that the package type is a supported type.
HTTP Status: 400
Exit Code: N/A
Help Links:

Currently we require a list of components of the package url specification. The purl supplied by the user did not specify all the components which we currently require.
HTTP Status: 400
Exit Code: N/A
Help Links:

Please remove the component which is not supported, and try to make the request again. The endpoint only accepts particular components.
HTTP Status: 400
Exit Code: N/A
Help Links:

The package you’ve specified in the purl can not be found in our vulnerability database. Please check that the package name, ecosystem and version are correct and then try again.
HTTP Status: 404
Exit Code: N/A
Help Links:

This issue is unexpected, and the service should recover quickly. If not, please contact support.
HTTP Status: 503
Exit Code: N/A
Help Links:

An unexpected error occurred. Please try again, and if you continue to experience issues please contact support.
HTTP Status: 500
Exit Code: N/A
Help Links:

An unexpected error occurred with the vulnerability service. Please try again, and if you continue to experience issues please contact support.
HTTP Status: 500
Exit Code: N/A
Help Links:

This issue is unexpected, and the service should recover quickly. If not, please contact support.
HTTP Status: 500
Exit Code: N/A
Help Links:

Please ensure the supplied pagination limit is > 1 and <= 1000, and that the offset is >= 0.
HTTP Status: 400
Exit Code: N/A
Help Links:
Genererated at 2022-10-04T08:00:10.772Z
Last modified 11h ago
Export as PDF
Copy link
Edit on GitHub
On this page
Snyk Error Codes
Snyk
Open Source Languages & Package Managers
Builds
PURL Vulnerabilities