Go to main content

Oracle® ZFS Storage Appliance RESTful API Guide, Release OS8.7.x

Exit Print View

Updated: December 2017
 
 

Appliance Errors

Errors return an HTTP status code indicating the error along with the following fault response payload.

JSON Fault Response:

    {
    fault: {
        message: 'ERR_INVALID_ARG',
        details: 'Error Details...',
        code: 500
    }
}
Table 4  Common Error Codes
Name
Code
Description
ERR_INVALID_ARG
400
Invalid input argument
ERR_UNKNOWN_ARG
400
Extra unhandled input argument
ERR_MISSING_ARG
400
Required input argument missing
ERR_UNAUTHORIZED
401
This user is not authorized to execute command
ERR_DENIED
403
Operation denied
ERR_STATE_CHANGED
Conflict in system state
ERR_NOT_FOUND
404
The requested item was not found
ERR_OBJECT_EXISTS
409
Request creates an object that already exists
ERR_CONFIRM_REQUIRED
409
Request requires the confirm=true query parameter to complete
ERR_OVER_LIMIT
413
Input request too large to handle
ERR_UNSUPPORTED_MEDIA
415
Requested media type is not supported by request
ERR_NOT_IMPLEMENTED
501
Operation not implemented
ERR_BUSY
503
Service not available due to limited resources