The system returns an API status code for each API call, which conveys the results of an API request.

The following table lists the status code for API calls.

Service Status Code

HTTP Status Code

Description

Success

790200

200

Success.

790201

201

Created (the result of POST method).

Parameter Validation Failure

791000

400

Null parameter.

791001

400

Invalid parameter.

791002

400

Invalid value.

791003

400

Parameter conflict.

791004

400

Invalid tenant.

791005

400

Invalid domain.

791006

400

Non-existing data.

791007

400

Data conflict.

791008

400

Unsupported feature.

791009

400

Null or invalid value.

792000

400

Attribute not editable.

792002

400

Attribute not supported.

792003

400

Built-in attribute deletion error.

792004

400

Field name violation.

792005

400

Value out of range.

792006

400

Alphabet string constraint.

792007

400

Character validation failed.

792008

400

Invalid address.

792009

400

Invalid type.

792010

400

The map is not existing.

792011

400

Unknown switch.

792030

400

Zero or negative value.

792031

400

Negative value.

792040

400

Unknown source gateway.

792100

400

Site transaction not found.

792102

400

Site locked.

792105

400

Trying to execute an operation that is invalid for a leaf site.

792110

400

Trying to execute an operation that is invalid for a container site.

Server Exception

793000

500

Unexpected Error.

793001

500

Inner exception.

793011

500

Task error.

Routing Error

793404

404

No routing resource found for given URL.

793405

405

The method is not supported for given HTTP request.

Task or Operation failure

794000

400

No IP to discover.

794001

409

The task is already in running state.

794002

400

Run disabled task.

794003

400

Task type is not scanned.

794004

400

The task is not existing.

794005

400

Failed to start a task.

794007

400

incomplete task.

794008

400

failed task.

794009

400

Canceled task.

794010

409

Operation conflict.

794011

400

Operation failed.

794100

400

Task type error, not a benchmark task.

794101

400

Task type error, not a discovery task.

Authentication Failure and Permission Error

795000

401

Authentication error.

795001

403

Insufficient permissions on tenant or domain.

795002

403

No permission to log into the system.

795003

403

Insufficient permissions.

795004

401

The session expired.

795005

401

Invalid token.

795006

408

Request timeout.

795007

402

Exceeds tenant available node.

795008

400

Do not allow resetting passwords.

795009

400

Do not allow modifying parameter.

795010

400

The session does not exist.

795011

402

API calls exceeded the limit.

795012

402

No API license or license expired (could be caused by license check failure).

External Approval for Change Management

798800

400

The change management failed to bind to a ticket.

798801

400

The change management was already bound to another ticket.

798802

400

The change management is not allowed to bind to a ticket.

798803

400

The change management state is not allowed to be changed.

798804

400

Failed to update the change management state.

798805

403

License missing or invalid.