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

Bad request
The request sent to the server is invalid or corrupt.
HTTP Status: 400
Exit Code: N/A
Help Links:
Forbidden
Access to the requested resource is forbidden.
HTTP Status: 403
Exit Code: N/A
Help Links:
Not acceptable
The server cannot provide a response which matches the provided accept headers.
HTTP Status: 406
Exit Code: N/A
Help Links:
Not found
The server cannot find the requested resource.
HTTP Status: 404
Exit Code: N/A
Help Links:
Method not allowed
The endpoint does not support the request method.
HTTP Status: 405
Exit Code: N/A
Help Links:
Request entity too large
The request entity exceeds server limitations.
HTTP Status: 413
Exit Code: N/A
Help Links:
Unauthorized
The request lacks authentication credentials for the requested resource.
HTTP Status: 401
Exit Code: N/A
Help Links:
Unsupported media type
The media format of the request is not supported.
HTTP Status: 415
Exit Code: N/A
Help Links:
Unsupported Ecosystem
The language or package manager is not supported.
HTTP Status: 400
Exit Code: N/A
Help Links:
Unable to parse manifest file
The provided manifest file could not be parsed as it has invalid syntax or does not match the expected schema.
HTTP Status: 400
Exit Code: N/A
Help Links:
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:
Unable to parse lock file
The provided lock file could not be parsed as it has invalid syntax or does not match the expected schema.
HTTP Status: 400
Exit Code: N/A
Help Links:
Unknown dependency version
Dependency version could not be resolved.
HTTP Status: 404
Exit Code: N/A
Help Links:

Builds

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:
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:

SbomExport

Internal Server Error
Apologies, unfortunately an unexpected error has occurred. Please try again shortly. If the error persists please contact the Snyk support team.
HTTP Status: 500
Exit Code: N/A
Help Links:
Error while getting dependency graph
Apologies, unfortunately an unexpected error has occurred. Please try again shortly. If the error persists please contact the Snyk support team.
HTTP Status: 500
Exit Code: N/A
Help Links:
Error parsing dependency graph
Apologies, unfortunately an unexpected error has occurred. Please try again shortly. If the error persists please contact the Snyk support team.
HTTP Status: 500
Exit Code: N/A
Help Links:
Not Found
This is either a Snyk Code or Snyk Infrastructure as Code project. We don’t currently provide an SBOM for these project types.
HTTP Status: 404
Exit Code: N/A
Help Links:
We do not currently provide an SBOM document for this project type
Unsupported Snyk project type.
HTTP Status: 404
Exit Code: N/A
Help Links:
Unsuccessful request
Unsuccessful dep-graph request.
HTTP Status: 404
Exit Code: N/A
Help Links:
Unauthorized
Missing API token.
HTTP Status: 401
Exit Code: N/A
Help Links:
The body of the request can not be empty
The body of the request is empty.
HTTP Status: 400
Exit Code: N/A
Help Links:
The provided depgraph in the body is invalid
The provided dephgraph in the body is invalid.
HTTP Status: 400
Exit Code: N/A
Help Links:

Workspaces

Unauthorized Credentials
The credentials that have been provided could not be authorized with the upstream service.
HTTP Status: 401
Exit Code: N/A
Help Links:
Insufficient Privileges
The access token that has been provided has insufficient privileges to complete the requested operation with the upstream service.
HTTP Status: 401
Exit Code: N/A
Help Links:
Invalid Credentials
The credentials provided do to match the expected format.
HTTP Status: 400
Exit Code: N/A
Help Links:
Invalid Token
The workspace token provided is invalid.
HTTP Status: 400
Exit Code: N/A
Help Links:
Missing Access Token
The request is missing the access token.
HTTP Status: 401
Exit Code: N/A
Help Links:
Unauthorized Request
The provided token could not be authorized.
HTTP Status: 401
Exit Code: N/A
Help Links:
Target Not Found
The requested target could not be found. Please ensure the target details are correct.
HTTP Status: 404
Exit Code: N/A
Help Links:
Invalid Target
The target information that has been provided is in an invalid format.
HTTP Status: 400
Exit Code: N/A
Help Links:
File Size Error
The requested file is too large to be transferred.
HTTP Status: 400
Exit Code: N/A
Help Links:
File Not Found
The requested file could not be found. Please ensure the file path exists in the provided target.
HTTP Status: 404
Exit Code: N/A
Help Links:
Too Many Requests
The upstream service has received too many requests and will be throttled.
HTTP Status: 429
Exit Code: N/A
Help Links:
Service Unavailable
The upstream service is unavailable.
HTTP Status: 502
Exit Code: N/A
Help Links:
Maven Search Service Unavailable
The upstream Maven search service is not available.
HTTP Status: 503
Exit Code: N/A
Help Links:
SHA1 Not Found
Unable to find the coordinates for the provided SHA1.
HTTP Status: 404
Exit Code: N/A
Help Links:
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:
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:
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:
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:
Ecosystem is not supported
Ensure that the package type is a supported type.
HTTP Status: 400
Exit Code: N/A
Help Links:
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:
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:
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:
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:
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:
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:
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:
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:
Purls provided exceeds limit
The number of purls sent in the request exceeds the limit set by the service.
HTTP Status: 400
Exit Code: N/A
Help Links:
Number of issues exceeds limit
The number of issues found for the provided purls exceeds the limit defined by the API. You may attempt to resolve this by reducing the number of purls you send in a single request.
HTTP Status: 400
Exit Code: N/A
Help Links:

OpenSourceProjectIssues

Invalid request
Please check the body of your request and try again.
HTTP Status: 400
Exit Code: N/A
Help Links:
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:
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:
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:
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

Invalid request
Please check the body of your request and try again.
HTTP Status: 400
Exit Code: N/A
Help Links:
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:
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:
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:
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 2023-03-28T13:59:00.185Z
© 2023 Snyk Limited | All product and company names and logos are trademarks of their respective owners.