Error Codes

If API calling fails, a response with HTTP status code 4xx or 5xx is returned. The returned message body contains the specific error code and error information. The response also includes specific error code and error information in the message body, as described in the following table.

Sample:

{

"errorCode": "DIS.4301",

"message": "Stream does not exist. [test][6332998f84ac4c13a83db055da33cb66]"

}

If an error code starting with APIGW is returned after you call an API, rectify the fault by referring to the instructions provided in Error Codes.

HTTP Status Code

Error Code

Error Message

Description

Measure

441

DIS.4100

Authorization error.

The signature information generated using AK and SK is incorrect.

Ensure that the signature information in the request header is correct.

441

DIS.4101

Authorization header cannot be empty.

The signature information generated using AK and SK is blank.

Ensure that the signature information is generated.

441

DIS.4102

Incorrectly parsed authorization header.

The signature cannot be parsed.

Ensure that the signature information in the request header is correct.

441

DIS.4103

Empty X-Sdk-Date header.

The X-Sdk-Date field in the request header is blank.

Ensure that the X-Sdk-Date field in the request header is not blank.

441

DIS.4104

Error parsing X-Sdk-Date header.

The X-Sdk-Date field in the request header cannot be parsed.

Ensure that the X-Sdk-Date field in the request header is correct.

441

DIS.4105

Invalid X-Sdk-Date header.

The X-Sdk-Date field in the request header is invalid.

Ensure that the X-Sdk-Date field in the request header is correct.

441

DIS.4106

Empty AcessKey header.

The Authorization field of the request header does not contain AK.

Ensure that AK is contained in the Authorization field.

441

DIS.4107

Invalid AcessKey header.

AK in the Authorization field of the request header is invalid.

Ensure that AK is valid and correct.

441

DIS.4108

Empty ServiceName header.

The Authorization field of the request header does not contain the service name.

Ensure that the Authorization field of the request header contain service name dis.

441

DIS.4109

The Authorization header must contain the following field: {Credential,SignedHeaders,Signature;}

The Authorization field of the request header is incorrect.

Ensure that the Authorization field of the request header contains Credential, SignedHeaders, and Signature.

441

DIS.4110

Empty Signature header.

The Authorization field of the request header does not contain SignedHeaders.

Ensure that the signature generation mode is correct.

441

DIS.4111

Invalid Region header.

The region in the Authorization field of the request header is invalid.

Ensure that the region is valid.

441

DIS.4112

Invalid authorization request.

The signature information generated using AK and SK is incorrect.

Ensure that the signature generation mode and the information about AK, SK, and region are correct.

441

DIS.4113

Empty Token header.

When token authentication is used, the X-Auth-Token field of the request header is blank.

Ensure that the X-Auth-Token field of the request header is not blank.

441

DIS.4114

Invalid Token header.

When token authentication is used, the X-Auth-Token field of the request header is invalid.

Ensure that the X-Auth-Token field of the request header is valid.

403

DIS.4116

Invalid RBAC.

User operations are restricted.

Ensure that real-name authentication have been performed, all bills have been paid, and DIS operating permissions have been obtained.

400

DIS.4117

Invalid Project Id.

The project ID input by the subscriber is invalid.

Ensure that the project ID is valid and correct.

400

DIS.4200

Invalid request.

The user request is invalid.

Check the request by referring to the API document.

400

DIS.4201

Invalid partition_id.

The partition ID input by the subscriber is invalid.

Ensure that the partition ID is valid.

400

DIS.4202

Empty request.

The user request is empty.

Input a valid request.

400

DIS.4203

Invalid monitoring period.

The start time for query the monitoring information is invalid.

Input a valid timestamp.

400

DIS.4204

The monitoring period cannot be longer than 7 days.

Only the monitoring information generated in the recent seven days can be queried.

Query the monitoring information generated in the recent seven days.

400

DIS.4205

Stream is not running.

The stream is not in the running state.

Check the stream status.

400

DIS.4208

Invalid MRS cluster.

The MRS cluster input during MRS dump task creation is invalid.

Ensure the MRS cluster name and ID are correct and the cluster is running in security mode.

400

DIS.4209

Invalid metrics label.

The monitoring metric input during monitoring information query is invalid.

Check and correct the monitoring metric by referring to the API document.

400

DIS.4215

Invalid cursor type.

The cursor type input during the data cursor acquisition is invalid.

Check and correct the cursor type by referring to the API document.

400

DIS.4216

Invalid sequence_number.

The sequence number input during data cursor acquisition is invalid.

Input a valid sequence number.

400

DIS.4217

Invalid partition cursor.

The partition cursor input during data download from DIS is invalid.

Obtain the partition cursor again and download the data.

400

DIS.4219

The file is constantly resent.

The file has been received.

Do not upload the file again.

400

DIS.4220

The block whose sequence number is %s needs to be resent.

The file block needs to be uploaded again.

Upload the corresponding file block as instructed.

400

DIS.4221

Block seq %s is expected.

Duplicate file blocks are input.

Upload the file block from the one expected by the system.

400

DIS.4222

Block seq %s is expected.

The input file blocks are not consecutive.

Upload the file block from the one expected by the system.

400

DIS.4223

The file size exceeds the limit.

The file capacity exceeds the upper limit.

Split the file and upload it again.

400

DIS.4224

The sequence number is out of range.

The sequence number input during data cursor acquisition is invalid.

Input a valid sequence number.

400

DIS.4225

Expired partition cursor.

The partition cursor input during data download from DIS expires.

Obtain the partition cursor again and download the data.

400

DIS.4226

A partition iterator error occurred or a record to which the SN corresponds has expired. Try to obtain the partition iterator again.

The sequence number of the partition cursor input during data acquisition expires.

Obtain the data cursor and use the new cursor to obtain data.

400

DIS.4300

Request error.

The request body error occurs.

Correct the request body by referring to the API document.

400

DIS.4301

The stream does not exist.

The stream does not exist.

Ensure that the stream exists.

400

DIS.4302

The partition does not exist.

The stream partition does not exist.

Ensure that the partition ID exists.

400

DIS.4303

The traffic control limit is exceeded.

The flow control limit is exceeded.

Add partitions or reduce the upload rate.

400

DIS.4305

Too many stream requests.

There is an excessive number of user requests at the same time.

Decrease the requesting frequency and try again.

400

DIS.4306

The bucket does not exist.

The OBS bucket does not exist.

Ensure that the OBS bucket exists.

400

DIS.4307

The stream already exists.

The stream already exists.

Change the name of the new stream.

400

DIS.4308

Insufficient quota.

The quotas of the streams or partitions are insufficient.

Release the quota or submit a service ticket to change the quota of the account.

400

DIS.4309

Too many request failures. Please try again later.

The IP address is added to the blacklist.

Ensure that the authentication information and request are valid and try again later.

400

DIS.4310

OBS access error.

OBS failed to be accessed.

Ensure that the user has permission to access OBS.

400

DIS.4319

Partition is expired.

The partition has expired.

The partition has expired. Check whether the partition has expired in the scaling-in scenario and use a correct and valid partition.

400

DIS.4329

app quota exceeded.

The application quota exceeds the limit.

Release the applications that are not used.

400

DIS.4330

app already exist.

An application with the same name already exists.

Change the name of the new application.

400

DIS.4331

app is using.

The application failed to be deleted.

Ensure that the application that you want to delete is not being used.

400

DIS.4332

app not found.

The specified application does not exist.

Ensure the application name is correct.

400

DIS.4335

Invalid IAM agency.

The IAM agency used during dump task creation is invalid.

Ensure that dis_admin_agency created by DIS or the user-defined IAM agency exists and permission is complete.

400

DIS.4336

Invalid HDFS path.

The MRS HDFS path input during MRS dump task creation is invalid.

Ensure that the MRS HDFS path exists.

400

DIS.4337

The DLI database does not exist.

The DLI database input during DLI dump task creation does not exist.

Ensure that the DLI database exists.

400

DIS.4338

The DLI table does not exist.

The DLI table input during DLI dump task creation does not exist.

Ensure that the DLI table exists and is an internal table.

400

DIS.4339

Consumer quota exceeded.

The consumer quota of the consumer group is insufficient.

The number of consumers in the consumer group has exceeded the maximum quota. Allocate consumers properly or create a consumer group to meet the requirement.

400

DIS.4341

The CloudTable cluster does not exist.

The CloudTable cluster input during CloudTable dump task creation does not exist.

Ensure that the CloudTable cluster exists and is running properly.

400

DIS.4342

The CloudTable table does not exist

The CloudTable table input during CloudTable dump task creation does not exist.

Ensure that the CloudTable table exists.

400

DIS.4343

The CloudTable table family does not exist.

The CloudTable column family input during CloudTable dump task creation does not exist.

Ensure that the CloudTable column family exists.

400

DIS.4345

Invalid CloudTable schema.

The schema input during CloudTable dump task creation is invalid.

Check the schema based on the returned details to ensure that the configured JSON attribute name exists and the parameters are valid.

400

DIS.4348

Invalid CloudTable openTSDB schema.

The schema input during CloudTable OpenTSDB dump task creation is invalid.

Check the schema based on the returned details to ensure that the JSON attribute name exists and the parameters are valid.

400

DIS.4350

Invalid DWS cluster.

The DWS cluster input during DWS dump task creation does not exist.

Ensure that the DWS cluster exists and is running properly.

400

DIS.4351

Invalid KMS userKey.

The KMS key input during DWS dump task creation is invalid.

Ensure that the KMS key exists.

400

DIS.4354

The transfer task does not exist.

The dump task to be deleted or updated does not exist.

Ensure that the dump task exists.

400

DIS.4355

The transfer task already exists.

When you create a dump task in a stream, another dump task with the same name already exists in this stream.

Change the name of the new dump task.

400

DIS.4357

Exceeded transfer task quota.

A maximum of five dump tasks can be created for one stream at the same time. Creating six dump tasks will exceed the quota limit.

Delete the discarded dump tasks and then add dump tasks again.

400

DIS.4358

The stream supports specific transfer tasks. Check the data type of the stream.

Common dump tasks cannot be created in the stream for small file dump.

Create a new stream and then dump tasks in the stream.

400

DIS.4360

Invalid data schema.

The data schema input during stream creation or update is invalid.

Ensure that the data schema format is correct and try again.

400

DIS.4601

The number of resource tags has reached the maximum.

A resource has a maximum of 10 tags. Adding 11 tags will exceed the quota limit.

Delete the discarded tags and then add tags again.

400

DIS.4602

Invalid resource type.

The resource type is invalid.

Ensure that the resource type is valid.

400

DIS.4603

The resource does not exist.

The resource does not exist.

Ensure that the resource is not deleted.

400

DIS.4604

The key does not exist.

The tag key does not exist.

Ensure that the tag key exists.

400

DIS.4605

The action is not supported.

The current tag operation is not supported.

Ensure that the current tag operation is valid. Currently, only the create and delete operations are supported.

400

DIS.4375

The app does not commit checkpoint

The application does not submit the checkpoint operation in the stream.

Check whether the application has submitted the checkpoint operation in the consumption stream.

500

DIS.5000 to DIS.5999

System error.

NOTE:

Contact technical support to handle system errors.

-

-