Updated on 2024-04-22 GMT+08:00

Error Codes

No data is returned if an API call fails. You can find out the cause of an error using the error code list below. When the API call fails, HTTP status code 4xx or 5xx is returned. The returned message body contains specific error code and error message. If you did not find out the cause of an error, contact the customer service personnel and provide the error code. We will help you solve the problem as soon as possible.

  • Example faulty response
    {
        "error_code": "VIAS.00010006",
        "error_msg": "An internal error occurs.",
        "detail": "Request method 'GET' not supported",
        "params": [],
        "reason": "An internal error occurs.",
        "advice": "An internal error occurs."
    }
  • Parameters

    Parameter

    Description

    error_code

    Error code

    error_msg

    Error message

    detail

    Error details

    params

    Related parameters

    reason

    Causes

    advice

    Solution

  • Error Codes

    Status Code

    Error Code

    Error Message

    Description

    Solution

    400

    VIAS.00010001

    The parameters are invalid.

    The parameters are invalid.

    Ensure that the input parameters are valid.

    400

    VIAS.00010002

    The object does not exist.

    The object does not exist.

    Check the configuration.

    400

    VIAS.00010003

    The object already exists.

    The object already exists.

    Use or create another object.

    400

    VIAS.00010004

    The object or parameter is invalid.

    The object or parameter is invalid.

    Check the format of the object or parameter.

    401

    VIAS.00010005

    Authorization failed.

    Authorization failed.

    Check whether you have required permissions.

    500

    VIAS.00010006

    An internal error occurs.

    An internal error occurs.

    Locate the fault based on logs.

    400

    VIAS.00010007

    No task is found based on the task ID.

    No task is found based on the task ID.

    Check the task ID.

    400

    VIAS.00010008

    No task is found based on the ID.

    No task is found based on the ID.

    Check the ID.

    500

    VIAS.00010009

    The serviced failed to be accessed. (Internal error)

    The serviced failed to be accessed. (Internal error)

    Locate the fault based on logs.

    400

    VIAS.00010010

    There is a video source with the same name.

    There is a video source with the same name.

    Change the video source name.

    400

    VIAS.00010011

    There is a job with the same name.

    There is a job with the same name.

    Change the job name.

    500

    VIAS.00010012

    This operation is not allowed. (Internal error)

    This operation is not allowed. (Internal error)

    Locate the fault based on logs.

    500

    VIAS.00010013

    Requests are sent too frequently.

    Requests are sent too frequently.

    Try again later.

    500

    VIAS.00010014

    This operation is forbidden. (Internal error)

    This operation is forbidden. (Internal error)

    Locate the fault based on logs.

    500

    VIAS.00010015

    The resource is not found. (Internal error)

    The resource is not found. (Internal error)

    Locate the fault based on logs.

    500

    VIAS.00010016

    Dependent services are unavailable. (Internal error)

    Dependent services are unavailable. (Internal error)

    Check the status of the dependent services.

    400

    VIAS.00010017

    The resource code is duplicate. (Internal error)

    The resource code is duplicate. (Internal error)

    Locate the fault based on logs.

    400

    VIAS.00010018

    The video source configuration is invalid.

    The video source configuration is invalid.

    Check whether the parameters are valid.

    400

    VIAS.00010019

    The project ID is invalid.

    The project ID is invalid.

    Check whether the project ID is correct.

    500

    VIAS.00010020

    An error occurs on the agency client. (Internal error)

    An error occurs on the agency client. (Internal error)

    Locate the fault based on logs.

    401

    VIAS.00010021

    The account is restricted, frozen, or unauthenticated.

    The account is restricted, frozen, or unauthenticated.

    Perform real-name authentication.

    400

    VIAS.00010022

    The database entity object is not found. (Internal error)

    The database entity object is not found. (Internal error)

    Check possible causes of the error.

    500

    VIAS.00010023

    Token authentication failed or the permission is insufficient. (Internal error)

    Token authentication failed or the permission is insufficient. (Internal error)

    Check the required permissions.

    500

    VIAS.00010024

    The request is invalid. (Internal error)

    The request is invalid. (Internal error)

    Check the required permissions.

    500

    VIAS.00010025

    A network error occurs when the dependent service is accessed.

    A network error occurs when the dependent service is accessed.

    Check the network connection for accessing the dependent service.

    500

    VIAS.00010026

    The internal response body cannot be analyzed. (Internal error)

    The internal response body cannot be analyzed. (Internal error)

    Check the format of the internal response body.

    500

    VIAS.00010027

    The agency parameters are invalid. (Internal error)

    The agency parameters are invalid. (Internal error)

    Check the request parameters of the agency operation.

    500

    VIAS.00010028

    An IAM service exception occurs. (Internal error)

    An IAM service exception occurs. (Internal error)

    Check the status of IAM.

    500

    VIAS.00010029

    The maximum number of agencies has been reached. (Internal error)

    The maximum number of agencies has been reached. (Internal error)

    Delete other agencies.

    500

    VIAS.00010030

    The current zone has the same name as the trusted zone. (Internal error)

    The current zone has the same name as the trusted zone. (Internal error)

    The current zone name must be different from the trusted zone name.

    500

    VIAS.00010031

    The agency is not found. (Internal error)

    The agency is not found. (Internal error)

    Locate the fault based on logs.

    500

    VIAS.00010032

    The trusted zone name is incorrect. (Internal error)

    The trusted zone name is incorrect. (Internal error)

    Check the trusted zone parameters.

    500

    VIAS.00010033

    Deleting the agency failed. (Internal error)

    Deleting the agency failed. (Internal error)

    Check the operation on the database table.

    500

    VIAS.00010034

    Updating the agency failed. (Internal error)

    Updating the agency failed. (Internal error)

    Check the operation on the database table.

    500

    VIAS.00010035

    An agency with the same name already exists. (Internal error)

    An agency with the same name already exists. (Internal error)

    Ignore the error or create another agency.

    500

    VIAS.00010036

    An interrupt exception occurs when the IAM API is called. (Internal error)

    An interrupt exception occurs when the IAM API is called. (Internal error)

    Check the request.

    500

    VIAS.00010037

    An exception occurs when the IAM API is called. (Internal error)

    An exception occurs when the IAM API is called. (Internal error)

    Check the request.

    500

    VIAS.00010038

    The request body for calling the IAM API is invalid. (Internal error)

    The request body for calling the IAM API is invalid. (Internal error)

    Check the request body.

    500

    VIAS.00010039

    Failed to verify the image repository. (Internal error)

    Failed to verify the image repository. (Internal error)

    Check whether the internal token is obtained.

    400

    VIAS.00010040

    The account type is not supported.

    The account type is not supported.

    Use an account other than the op_svc account.

    400

    VIAS.0010045

    The OBS object does not exist.

    The OBS object does not exist.

    Select an existing OBS object.

    400

    VIAS.0010046

    IVM has not been enabled.

    IVM has not been enabled.

    Enable IVM.

    400

    VIAS.0010047

    The maximum number of video sources has been reached.

    The maximum number of video sources has been reached.

    Contact the administrator to adjust the quota.

    400

    VIAS.0010048

    The maximum number of tasks has been reached.

    The maximum number of tasks has been reached.

    Contact the administrator to adjust the quota.

    400

    VIAS.00010050

    Pool quota exceeds the upper limit.

    The number of created resource pools has reached the upper limit.

    Purchase more licenses or delete idle resource pools.

    400

    VIAS.00010051

    do not match unique constraint.

    Uniqueness verification failed.

    Check that the parameter is unique.