• Workspace

workspace
  1. Help Center
  2. Workspace
  3. API Reference
  4. Appendix
  5. Error Code Description

Error Code Description

Function

If the returned status code of a Workspace API is 400, the request parameters are incorrect. If the returned status code of a Workspace API is 500, an internal service error occurs. In the case that either of the status codes is returned, the customized error information will be returned. This section describes the meaning of each error code.

Response Body Format

{ 
   "error_code": "WKS.0001", 
   "error_msg": "Invalid request parameter. Sysdisk size is invalid."
}

Error Code Description

Module

Error Code

Description

Public

WKS.0001

Invalid request parameter.

WKS.0002

Internal error.

WKS.0003

Database operation error.

WKS.0004

Failed to invoke the ITA interface.

WKS.0005

Failed to invoke the ECS interface.

WKS.0006

Failed to invoke the VPC interface.

WKS.0007

Failed to invoke the OpenStack interface.

WKS.0008

Failed to invoke the SMN interface.

WKS.0009

Failed to invoke the IAM interface.

WKS.0010

Nonexistent resource.

WKS.0011

The user has not applied for Workspace.

WKS.0020

The request URL contains invalid characters.

WKS.0021

You cannot perform this operation because the infrastructure servers are being backed up.

WKS.0022

You cannot perform this operation because the infrastructure servers are being restored.

WKS.0023

You cannot perform this operation because the infrastructure servers failed to be restored.

WKS.0024

Failed to invoke the IMS interface.

WKS.0029

Failed to invoke the DEH interface.

WKS.0030

No DeHs available.

Desktop provisioning

WKS.0101

The ECS service failed to execute the ECS creation job.

WKS.0102

The ECS task timed out.

WKS.0103

Failed to create or check the user.

WKS.0104

Failed to import the desktop to FusionAccess.

WKS.0105

Provisioning failed.

WKS.0106

Insufficient quota.

WKS.0107

Failed to execute the child task.

WKS.0108

The IP address does not exist on the subnet.

WKS.0109

The IP address is in use.

WKS.0110

Invalid subnet.

WKS.0111

Insufficient IP addresses on the subnet.

WKS.0112

The license is invalid or the number of licenses reaches the upper limit.

WKS.0113

Failed to verify the computer name existence in the domain.

WKS.0114

The computer name already exists in the domain.

WKS.0115

The specified OU does not exist.

Workspace service

WKS.0201

Only properties of Workspace that is applied for successfully can be modified.

WKS.0202

Failed to modify domain configuration.

WKS.0203

Failed to change the domain password.

WKS.0204

The new password does not comply with password policies. Please check the password length, complexity, and historical password requirements.

WKS.0205

Desktops are being created, and the Workspace properties cannot be modified.

WKS.0206

The user has applied or is applying for Workspace.

WKS.0207

A user cannot cancel Workspace in the current service status.

WKS.0208

Failed to configure the infrastructure server.

WKS.0209

Failed to configure LITE_AD.

WKS.0210

The infrastructure server is unreachable.

WKS.0211

Workspace cannot be canceled because desktops exist.

WKS.0212

An exception occurs during the application of Workspace. Please contact the O&M personnel.

WKS.0213

Failed to create the infrastructure server.

WKS.0214

Weak password. Enter a strong password.

Product package

WKS.0300

Failed to obtain the package information.

WKS.0301

The product package does not exist.

Desktop management

WKS.0401

Abnormal desktop status.

WKS.0402

The desktop is being deleted and cannot be modified.

WKS.0403

The desktop fails to be deleted and cannot be modified.

WKS.0404

Failed to modify desktop attributes.

WKS.0405

The desktop cannot be modified because it is not started.

WKS.0406

The desktop cannot be modified because it is being started, shut down, or restarted.

WKS.0407

This operation cannot be performed because disks are being added.

WKS.0408

The operating status of the desktop does not support specifications change.

WKS.0409

This operation is not allowed because desktop specifications are being changed.

Desktop tags

WKS.0501

The request body cannot be empty.

WKS.0502

resource_type does not exist.

WKS.0503

projectID does not exist or is the projectID of other tenants.

WKS.0504

The value of action is null or missing.

WKS.0505

The parameter action is invalid.

WKS.0506

The value cannot contain offset or limit.

WKS.0507

The offset or limit parameter is invalid.

WKS.0508

The value of offset is smaller than 0.

WKS.0509

Limit must be greater than 0 and less than 1000.

WKS.0560

matches cannot be empty.

WKS.0561

matches is invalid.

WKS.0562

tags cannot be null or empty.

WKS.0563

The number of tag keys cannot be 0 or greater than 10.

WKS.0564

The tag is invalid.

WKS.0565

The key of tag is duplicate.

WKS.0566

Each resource type supports up to 10 tags.

WKS.0567

resource_type is invalid.

WKS.0568

resource_id does not exist or is the resource_id of other tenants.

WKS.0569

The tag key does not exist.

WKS.0570

Invalid token.

WKS.0571

The token is missing or empty.

WKS.0572

resource_type is missing.

WKS.0573

projectId is missing.

WKS.0574

resource_id is missing.