Error descriptions

This section lists the error codes returned by API methods.

Error format


{
    "errors" : [ {
        "error_type" :  < error_type > ,
        "message" :  < string > ,
        "location" :  < string > 
    }, ... ],
    "code" :  < int > ,
    "message" :  < string > 
}

Parameters

Description

errors

List of errors that occurred.

code

HTTP status.

message

Reason.

errors

error_type

Type of error.

message

Reason for the error.

location

Where the error occurred.

Types of errors

Type of error

Description

backend_error (503 SERVICE_UNAVAILABLE)

Server error.

invalid_parameter (400 BAD_REQUEST)

Incorrectly set parameter.

not_found (404 NOT_FOUND)

The specified object was not found.

missing_parameter (400 BAD_REQUEST)

A required parameter was omitted.

access_denied (403 FORBIDDEN)

Access denied.

unauthorized (401 UNAUTHORIZED)

The user is not authorized.

quota (429 TOO_MANY_REQUESTS)

Exceeded the limit on API requests.

query_error (400 BAD_REQUEST)

The request is too complex.

conflict (409 CONFLICT)

Violation of data integrity.

not_acceptable (406 NOT_ACCEPTABLE)

Unsupported format.

timeout (504 GATEWAY_TIMEOUT)

The request is taking too long to run.

invalid_uploading (400 BAD_REQUEST)

File was uploaded incorrectly.

no_changes (400 BAD_REQUEST)

The same file was uploaded repeatedly.

header_validation_error (400 BAD_REQUEST)

Header validation error in a CRM segment file

too_large_polygon (400 BAD_REQUEST)

The polygon is too large.

self_crossing_polygon (400 BAD_REQUEST)

The polygon intersects itself.

crossing_polygons (400 BAD_REQUEST)

Intersecting polygons were specified.

quota (429 TOO_MANY_REQUESTS)

Exceeded the maximum number of segments to reprocess.

reprocess_wrong_type (400 BAD_REQUEST)

The segment can't be reprocessed.

reprocess_wrong_status (400 BAD_REQUEST)

The segment can't be reprocessed.

targeted_quota (400 BAD_REQUEST)

Not enough segments are used for targeting.

ast_too_large (400 BAD_REQUEST)

The AST tree is too large.