Error
The error event happens as soon as the scan process reaches an end due to an error.
The current status of the scan. Possible values: 0 (Success), 1 (Error), 2 (CreditsChecked), 3 (Indexed)
error object
The error type (e.g., authentication_error, payment_error, invalid_request_error, api_error).
The machine-readable error identifier (e.g., invalid_credentials, insufficient_credits).
Error code that represents the reason for failure. See below the full error table.
Human-readable error message that describes the reason for failure.
A URL to the documentation page for this error.
details array Optional
Additional details about specific parameters that caused the error.
The parameter name that caused the error.
A message describing the issue with this parameter.
The developer payload that was provided in the submit method.
<= 512 characters
Copyleaks provides you with the specific error message describing the reason for the error. Some of the failures are related to incorrect configuration on your side. Others are related to Copyleaks server-side errors.
We are doing our best to successfully respond to all of your requests.
Still, sometimes we encounter an internal error. In that case, we will fix the problem as soon as possible. You will also get a unique ticket ID that will help identify the problem when contacting Copyleaks customer support.
For a complete reference of all the error codes and how to handle them.
Example
Section titled “Example”{ "status": 1, "error": { "type": "invalid_request_error", "id": "missing_parameter", "code": 1, "message": "Bad request. One or several required parameters are missing or incorrect." }, "developerPayload": "Custom developer payload"}