RequestError

RequestError
RequestError

Application specific error codes

Errors
Name Code HTTP Status Code Message
Permission Denied 10101 403 The caller is not allowed to use the API.
Missing Parameter 10201 422 At least one of the required API parameter(s) are missing.
Invalid Parameter 10202 422 The API got a parameter that it is not able to process (e.g. wrong type or value out of valid range, etc.)
Unsupported Media Type 10202 415 The media type is not supported.
Entity Not Found 10301 404 Unable to find entity.
Invalid Roles Header 10402 400 Unable to parse the roles header.
JSON Example
{
    "module_name": "nsx_metadata_service",
    "error_message": "string",
    "error_code": 0
}
string
module_name
Optional

Name of the module where the error was encountered.

string
error_message
Optional

Message to add error details for the user.

integer
error_code
Optional

Application specific error codes