Updated on 2022-10-26 GMT+08:00

Error Codes

Since no result data is returned in the case of an API call error, you can identify the error cause based on the error codes of each API.

If HTTP status code 400 or 505 is returned after an API call error, you can find the specific error code and description in the response body.

If you are unable to identify the cause of an error, contact customer service and provide the error code for quick troubleshooting.

Format of an Error Response Body

If an error occurs during API calling, an error code and the corresponding error message will be displayed. The following shows an error response body:

{
    "error_msg": "The format of message is error",
    "error_code": "AS.0001"
}

In the preceding information, error_code is an error code, and error_msg describes the error.

Error Code Description

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

Table 1 Error codes

Status Code

Error Code

Error Message

Description

Solution

400

PM.02150010

Target user not a member of program

The target user is not a member of the program.

Add the required user to the program.

400

PM.02150301

Deletion failed

Deletion failed.

Change the role of the user to another role before deleting the user.

400

PM.02150302

Permissions cannot change

The permissions cannot be changed.

Do not change the permissions.

400

PM.02150303

Role does not exist

The role does not exist.

Verify request parameters.

400

PM.02150304

Role name unavailable

The role name is unavailable. Please set a new name.

Set a new name.

400

PM.02150305

Role name conflict

The role name conflicts with another one.

Set a new name.

400

PM.02150404

Program not exist

The program does not exist.

  

400

PM.02151001

Project set not exist

The project set does not exist.

  

400

PM.02152001

Invalid parameter

Invalid parameter.

Correct the parameter.

400

PM.02152002

Undefined error

Undefined error.

Correct the error.

400

PM.02152003

Invalid argument name

Invalid argument name.

Correct the argument name.

400

PM.02152004

Project set not archived

The project set is not archived.

  

400

PM.02152005

Project does not exist or has been deleted

Project does not exist or has been deleted.

  

400

PM.02152006

Project set not followed

The project set has not been followed.

  

400

PM.02152007

Project set followed

The project set has been followed.

  

400

PM.02152008

Parameter for modifying permission to create project set contain unauthorized user

The parameter for modifying the permission to create a project set contains an unauthorized user.

  

400

PM.02152009

Project set has been archived

The project set has been archived.

  

400

PM.02152010

Project type not allowed

The project type is not allowed.

  

400

PM.02152011

Project has been associated

The project has been associated.

  

400

PM.02153001

Too frequent access try again later

Too frequent access. Try again later.

  

400

PM.02175006

Invalid Parameter: {0}

Invalid parameter.

Use a correct request parameter to retry.

400

PM.02175101

Number of sub items exceeds [{0}]

The number of sub-items cannot exceed the upper limit.

Create sub-items only after deleting other sub-items, or create them under other items.

400

PM.02175103

Only accepted initial requirement can be edited

The current initial requirement (IR) cannot be modified, except when the proposed program is the same as the destination program or the IR is accepted in the destination program. This error may occur when an IR is modified or a child IR is created under the parent IR.

Confirm the IR status and try again.

400

PM.02175104

Some of the initial requirements can not be edited

Some IRs cannot be modified (usually because of unavailable requested IRs).

Ensure that all IRs to be modified exist and try again.

400

PM.02175105

Invalid parent

Invalid parent IR (This error occurs when the child IRs created in batches do not have a consistent parent IR, the destination program of the parent IR is inconsistent with the proposed program of the child IRs, or the specified parent IR type is incorrect.)

Use correct request parameters to retry.

400

PM.02175106

Can not create sub ir to current program

The proposed program of child IRs cannot be the same as the destination program.

Submit child IRs to other programs.

400

PM.02175111

Child IR exist, can not delete

The parent IR that has child IRs cannot be deleted.

Delete all child IRs and then delete the parent IR.

400

PM.02175113

Parent IR not exists

The parent IR does not exist.

Create child IRs under a correct parent IR.

400

PM.02175114

Parent IR not designated in current program, please perform in the destination program of this IR

The parent IR does not belong to the current program.

Try again in the destination program of the parent IR.

400

PM.02175115

Missing edit permission of sub items

The IR cannot be deleted because you do not have the edit permission on the project to which sub-work items belong.

Apply for the edit permission on the project to which sub-work items belong and try again.

400

PM.02175200

Missing required field [{0}]

Mandatory fields are missing.

Add mandatory fields and try again.

400

PM.02175201

Field [{0}] has invalid value{1}

The IR field has an invalid value (possibly due to incorrect format, for example, the time or date field uses a non-timestamp string.)

Use a correct value to send a request.

400

PM.02175202

Plan start date can not be later than plan due date

The estimated start date cannot be later than the estimated due date.

Use correct parameters for estimated start date and due date.

400

PM.10001002

Invalid token

Invalid token.

  

400

PM.10002006

Current tenant name in use

The name of the current tenant is already in use.

  

400

PM.10002010

Description cannot exceed 500

The description cannot exceed 500 characters.

  

400

PM.10002011

Invalid name

Invalid name.

  

400

PM.10003002

Insufficient permissions

The current user does not have sufficient permissions.

  

400

PM.10003003

Invitation expired

Invitation expired.

  

400

PM.10003004

Review info does not exist

The review information does not exist.

  

400

PM.10003005

Label in use

The label is in use.

  

400

PM.10003006

No more than 100 members

A maximum of 100 members can be added.

  

400

PM.10003007

No more than 100 projects

A maximum of 100 projects can be added.

  

400

PM.10003008

Role not allowed

The role is not allowed.

  

400

PM.10003009

Creator can exit project after handing over the program

The creator can exit the project after handing over the program.

  

400

PM.10003010

Member not exist

The member does not exist.

  

400

PM.10003011

Total number of programs under a tenant cannot exceed 100

The total number of programs under a tenant cannot exceed 100.

  

400

PM.10003014

Invitation not exist

The invitation does not exist.

  

400

PM.10003015

Only users of the same tenant can add

Only users of the same tenant can be added.

  

400

PM.10003016

Failed to add member

Failed to add a member.

  

401

PM.02150401

Insufficient operation permissions

The user does not have sufficient operation permissions.

  

403

PM.10003012

Member of program do not need to apply

The user is a member of the program and does not need to apply for the permission.

  

404

PM.02175005

Requested resource not exist

The requested resource does not exist.

Check whether the requested resource exists. (The ID may be incorrect or the resource has been deleted.)

405

PM.10003013

Application already exist waiting for approval

An application for joining the program already exists and is waiting for the administrator's approval.