Updated on 2023-06-25 GMT+08:00

ServiceStage Error Codes

If an error occurs after a request is sent to the system, a response containing an error code will be returned. The following lists the error codes.

Error Codes of Application Management APIs

Table 1 Error codes

Status Code

Error Code

Error Message

Description

Measure

400

SVCSTG.00100400

Invalid parameter.

Bad Request

Enter a valid value and try again.

SVCSTG.00100402

The component has been deployed. Uninstall it first.

Bad Request

Uninstall the component and try again.

SVCSTG.00100414

The job ID cannot be empty.

Bad Request

Specify a job ID.

SVCSTG.00100418

The component instance operation has not been defined.

Bad Request

Specify a defined operation.

SVCSTG.00100420

The runtime is not supported.

Bad Request

Specify a supported runtime.

SVCSTG.00100422

Basic resources cannot be empty.

Bad Request

Set basic resources.

SVCSTG.00100425

The artifact parameters cannot be empty.

Bad Request

Enter correct artifact parameters.

SVCSTG.00100449

The environment name has been used.

Bad Request

Provide a new environment name.

404

SVCSTG.00100403

The application cannot be found.

Not Found

Specify an existing application.

SVCSTG.00100404

The component cannot be found.

Not Found

Specify an existing component.

SVCSTG.00100408

The request cannot be found.

Not Found

Specify an existing request.

SVCSTG.00100411

The environment cannot be found.

Not Found

Specify an existing environment.

SVCSTG.00100412

The instance cannot be found.

Not Found

Specify an existing instance.

SVCSTG.00100424

The ELB instance cannot be found.

Not Found

Specify an existing ELB instance.

SVCSTG.00100429

The job cannot be found.

Not Found

Specify an existing job.

SVCSTG.00100433

The application release task cannot be found.

Not Found

Specify an existing release task.

SVCSTG.00100436

The snapshot cannot be found.

Not Found

Specify an existing snapshot.

SVCSTG.00100438

The template image cannot be found.

Not Found

Specify an existing template image.

SVCSTG.00100441

The instance version has been used in the same environment.

Not Found

Provide a new version number.

405

SVCSTG.00100421

The account is suspended.

Method Not Allowed

Ensure that the account is normal.

SVCSTG.00100427

Permission denied.

Method Not Allowed

Perform authorization again.

408

SVCSTG.00100428

Request timeout.

Request Timeout

The system is busy. Try again later.

409

SVCSTG.00100401

The application is not empty.

Conflict

Delete all components of the application and then delete the application.

SVCSTG.00100413

The instance name already exists.

Conflict

Use another instance name.

SVCSTG.00100419

You are not allowed to operate in the current state.

Conflict

The current operation has not been finished. Please try again later.

SVCSTG.00100423

The component instance cannot be deleted.

Conflict

The current operation has not been finished. Please try again later.

SVCSTG.00100426

The environment is already in use.

Conflict

Delete the instances deployed in the environment and then delete the environment.

SVCSTG.00100432

The component is being released.

Conflict

Wait until the current task is complete and try again.

SVCSTG.00100435

The release task cannot be deleted.

Conflict

The current operation has not been finished. Please try again later.

SVCSTG.00100439

The ELB instance has been used in a component.

Conflict

Use another ELB instance.

500

SVCSTG.00100500

Internal service error.

Internal Server Error

The system is busy. Try again later.

SVCSTG.00100501

Remote service error.

Internal Server Error

The system is busy. Try again later.

Error Codes of Git Repository Access APIs

Table 2 Error codes

Status Code

Error Code

Error Message

Description

Measure

400

SVCSTG.REPO.0400

Invalid parameter.

Bad Request

Enter a valid value and try again.

SVCSTG.REPO.0401

Repository not supported.

Bad Request

Select another repository.

SVCSTG.REPO.0402

Invalid OAuth code or state.

Bad Request

Perform OAuth 2.0 authorization again to obtain a correct authentication code and random string.

SVCSTG.REPO.0403

The resource already exists.

Bad Request

Check whether the resource already exists.

SVCSTG.REPO.0450

No repository authorization.

Bad Request

Check whether the authorization name in the request header is correct.

SVCSTG.REPO.0451

Invalid repository authorization.

Bad Request

Perform authorization again.

SVCSTG.REPO.0451

Invalid clone URL.

Bad Request

Enter a correct clone URL.

Example: https://user-name@github.com/user-name/demo.git.

500

SVCSTG.REPO.0500

Internal service error.

Internal Server Error

Network error. Try again later.

SVCSTG.REPO.0501

Remote repository error.

Internal Server Error

Check whether the request parameter is correct and the remote Git repository file has been modified.