Links

Error Catalog

Snyk Error Codes

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.

Snyk

SNYK-0001 - Too many requests

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

SNYK-0002 - Not implemented

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:

SNYK-0003 - Bad request

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:

SNYK-004 - Timeout error

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

SNYK-005 - Unauthorised error

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

SNYK-9999 - Server error

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

OpenAPI

SNYK-OPENAPI-001 - Bad request

The request sent to the server is invalid or corrupt.
HTTP Status: 400
Exit Code: N/A
Help Links:

SNYK-OPENAPI-002 - Forbidden

Access to the requested resource is forbidden.
HTTP Status: 403
Exit Code: N/A
Help Links:

SNYK-OPENAPI-003 - Not acceptable

The server cannot provide a response which matches the provided accept headers.
HTTP Status: 406
Exit Code: N/A
Help Links:

SNYK-OPENAPI-004 - Not found

The server cannot find the requested resource.
HTTP Status: 404
Exit Code: N/A
Help Links:

SNYK-OPENAPI-005 - Method not allowed

The endpoint does not support the request method.
HTTP Status: 405
Exit Code: N/A
Help Links:

SNYK-OPENAPI-006 - Request entity too large

The request entity exceeds server limitations.
HTTP Status: 413
Exit Code: N/A
Help Links:

SNYK-OPENAPI-007 - Unauthorized

The request lacks authentication credentials for the requested resource.
HTTP Status: 401
Exit Code: N/A
Help Links:

SNYK-OPENAPI-008 - Unsupported media type

The media format of the request is not supported.
HTTP Status: 415
Exit Code: N/A
Help Links:

SNYK-OS-0001 - Unsupported Ecosystem

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

SNYK-OS-0002 - Unable to parse manifest file

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

SNYK-OS-0003 - Lock file out of sync with manifest file

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:

Builds

SNYK-OS-8001 - Invalid request

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:

SNYK-OS-8002 - Build environment not found

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:

SNYK-OSSI-1040 - Your organisation is not authorised to perform this action

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:

SNYK-OSSI-1050 - Authorization request failure

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:

SNYK-OSSI-2010 - Invalid PURL has been provided

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:

SNYK-OSSI-2011 - Ensure you specify a namespace in the purl and then try again

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:

SNYK-OSSI-2020 - Ecosystem is not supported

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

SNYK-OSSI-2021 - Purl components required

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:

SNYK-OSSI-2022 - You have submitted a purl with components which are not supported

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:

SNYK-OSSI-2030 - Requested package not found

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:

SNYK-OSSI-2031 - Vulnerability service is currently not available

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

SNYK-OSSI-2032 - This issue is unexpected and the service should recover quickly if not please contact support

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:

SNYK-OSSI-2033 - This issue is unexpected and the service should recover quickly if not please contact support

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:

SNYK-OSSI-2040 - An error was experienced by the service when processing the request

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

SNYK-OSSI-2041 - Invalid pagination parameters

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:

OpenSourceProjectIssues

SNYK-OSSI-OSPI-1001 - Invalid request

Please check the body of your request and try again.
HTTP Status: 400
Exit Code: N/A
Help Links:

SNYK-OSSI-OSPI-1002 - Unable to return valid API response

This should resolve, however please contact support if you continue to experience issues.
HTTP Status: 500
Exit Code: N/A
Help Links:

SNYK-OSSI-OSPI-2001 - Failed to process data

This should resolve, however please contact support if you continue to experience issues.
HTTP Status: 500
Exit Code: N/A
Help Links:

SNYK-OSSI-OSPI-3001 - Failed to store issue data

Please check your inputs and try again. If you continue to experience issues please contact support.
HTTP Status: 500
Exit Code: N/A
Help Links:

SNYK-OSSI-OSPI-4001 - Internal server error

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

Open Source Project Snapshots

SNYK-OSSI-OSPSS-1001 - Invalid request

Please check the body of your request and try again.
HTTP Status: 400
Exit Code: N/A
Help Links:

SNYK-OSSI-OSPSS-1002 - Unable to return valid API response

This should resolve, however please contact support if you continue to experience issues.
HTTP Status: 500
Exit Code: N/A
Help Links:

SNYK-OSSI-OSPSS-2001 - Failed to process data

This should resolve, however please contact support if you continue to experience issues.
HTTP Status: 500
Exit Code: N/A
Help Links:

SNYK-OSSI-OSPSS-3001 - Failed to store snapshot data

Please check your inputs and try again. If you continue to experience issues please contact support.
HTTP Status: 500
Exit Code: N/A
Help Links:

SNYK-OSSI-OSPSS-4001 - Internal server error

This issue is unexpected, and the service should recover quickly. If not, please contact support.
HTTP Status: 500
Exit Code: N/A
Help Links:
Genererated at 2022-11-08T11:29:44.805Z
Last modified 21d ago