Lists Work Request Errors
get
/20191010/workRequests/{workRequestId}/errors
Returns a paginated list of errors for a given work request.
Request
Supported Media Types
- application/json
Path Parameters
-
workRequestId(required): string
The ID of the asynchronous request.
Query Parameters
-
limit: integer
Minimum Value:
1
Maximum Value:1000
The maximum number of items to return.Default Value:10
-
page: string
Minimum Length:
1
Maximum Length:2048
The page at which to start retrieving results.
Header Parameters
-
opc-request-id: string
The client request ID for tracing.
Response
Supported Media Types
- application/json
200 Response
List of work request errors.
Headers
-
opc-next-page: string
For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the
page
parameter for the subsequent GET request to get the next batch of items. -
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : WorkRequestErrorCollection
Type:
object
Result of a platform list or search. Contains WorkRequestError
Show Source
-
items(required):
array items
Collection of WorkRequestError
Nested Schema : items
Type:
array
Collection of WorkRequestError
Show Source
-
Array of:
object WorkRequestError
An error encountered while executing a work request.
Nested Schema : WorkRequestError
Type:
object
An error encountered while executing a work request.
Show Source
-
code(required):
string
A machine-usable code for the error that occured. Error codes are listed on (https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm)
-
message(required):
string
A human readable description of the issue encountered.
-
timestamp(required):
string(date-time)
The time the error occured. An RFC3339 formatted datetime string.
400 Response
Bad Request
401 Response
Not authorized
404 Response
Invalid parameters
429 Response
Too Many Requests
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
500 Response
Service unavailable
Default Response
Unknown Error
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.