All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

Error code

Last updated:2026-03-18 14:19:31

Error Codes


Overview

If the API response contains an error field, it means the API call has failed. A typical error response looks like the following:

JSON Format

{
    "requestid": "7106664e-bce9-4871-b5df-9cf6e25ce142",
    "error": {
        "type": "sender",
        "code": "InvalidParameterValue",
        "message": "Invalid `InstanceID` parameter value, length must be 36 characters."
    }
}

Error Response Fields

Field

Type

Description

requestid

String

Unique ID of the failed request. Use this when submitting support tickets.

error.type

String

Error source type. sender indicates the error was caused by the client request.

error.code

String

Error code. Use this to identify the specific error category.

error.message

String

Human-readable description of the error with specific details.

Note: A small number of APIs may return error responses in a different format due to compatibility between legacy and new service versions. Please handle these cases accordingly.


Error Code Reference

The table below lists all common error codes returned by the Kingsoft Cloud Monitor API. For error codes specific to individual API operations, refer to the Error Codes section of each API's documentation page.

HTTP Status

Error Code

Error Message

Description & Resolution

400

MissingParameter

The request is missing parameter

One or more required request parameters are absent or invalid. Check your request and ensure all required fields are included.

400

MissingSignature

The Request is missing Signature Parameter

The request was rejected because no valid signature was provided. Ensure the Signature parameter is included.

400

MissingAccesskey

Access Key is Missing

The request was rejected because no Access Key was provided. Include a valid AccessKey in your request.

400

MissingTimestamp

The request is missing timestamp parameter

The request was rejected because the signature timestamp is absent. Include a valid Timestamp parameter.

400

InvalidParameterValue

No such namespace

The specified Namespace value is invalid or does not exist. Refer to the Cloud Service Categories for valid namespace values.

400

InvalidParameterValue

Request information is too large

The single request is attempting to pull too much data. To resolve: reduce the EndTime - StartTime range, reduce the number of Aggregate sampling methods, or increase the downsampling Period.

400

InvalidActionOrVersion

The action or version is not valid for this web service

The Action or Version parameter value is invalid. Verify the correct values for the API you are calling.

400

InvalidTimestamp

Invalid Timestamp. Pls in 15mins

The signature request timestamp is invalid. Ensure the request timestamp is within 15 minutes of the current server time.

400

InvalidAccesskey

Invalid Accesskey

The provided Access Key is invalid. Check that you are using the correct key for your account.

400

SignatureNotMatch

The Signature is not matched

The AccessKey and SecretKey pair does not match. Verify that the correct key pair is being used to generate the signature.

400

UnavailableRegion

The region is unavailable for the openapi

The specified region is not supported by this API. Refer to the Region List for supported regions.

401

InaccessibleOpenapi

Without access to call Inner Openapi

Regular users do not have permission to access internal OpenAPI endpoints.

401

UnavailableAccountID

The Account ID is invalid

The Account ID is invalid. Check your account configuration and environment settings.

403

InvalidAuthenticationCode

lack of policy to [monitor:getmetricstatistics] the resources[]

The sub-account does not have the required permissions. The primary account must grant monitor permissions to the sub-account via the console IAM settings.

403

403

[xxx(namespace)] product does not belong to this user

The InstanceID and Namespace do not match the current account, or the specified Region does not exist. Verify the instance ID, namespace, and region are correct for this account.

404

ServiceUnavailable

Invalid service

The request was rejected because the referenced service does not exist.

404

404

No such name for 'metrics'

The specified MetricName does not exist in the given region, or there is no data available for this metric. Check that the metric name and region are compatible.

409

FlowLimitExceeded

Request was rejected because it referenced an 'InnerApi' that does not exist

The request was rejected because the API call rate has exceeded the rate limit threshold. Reduce the request frequency and implement retry logic with backoff.

412

ErrorDryRun

Request would have succeeded, but DryRun flag is set

The request would have succeeded but was not executed because the DryRun flag is set. Remove the DryRun flag to execute the actual request.

500

ServiceTimeout

Internal Service is unavailable because of time out

An internal service error or timeout occurred. The service is temporarily unavailable. Retry the request after a short delay, and contact support if the issue persists.


On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback