Each operation returns an HTTP status code.

The following table lists the HTTP status codes that you can receive and the operations which can trigger each status code.

HTTP Status Codes

HTTP Status Code

Description

Operations that return the status code

200

The operation is successful.

pause

cancel

resume

400

You cannot perform the operation because the data import is in the current state. For information about the data import states and transitions between the states, see the Deferred Import State Diagram figure.

pause

cancel

resume

401

You use invalid user name or password, or the authentication has failed.

pause

cancel

resume

getstatus

403

You do not have permissions to perform the operation. The vCenter Server Appliance super administrator has permissions to run the operation.

pause

cancel

resume

getstatus

500

There is a vapi std error. For information about the types of vapi std errors, see vapi.std.errors in the API Reference.

pause

cancel

resume

getstatus