Skip to main content

work_request_errors

Creates, updates, deletes, gets or lists a work_request_errors resource.

Overview​

Namework_request_errors
TypeResource
Idoci.logging.work_request_errors

Fields​

The following fields are returned by SELECT queries:

An error encountered while executing a work request.

NameDatatypeDescription
codestringA machine-usable code for the error that occured. Error codes are listed at https:​//docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm.
messagestringA human readable description of the issue encountered.
timestampstring (date-time)The time the error occured. An RFC3339-formatted date and time string.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectworkRequestId, regionopc-request-id, page, limitReturn a list of errors for a given work request.<br />

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
workRequestIdstringThe asynchronous request ID.
limitintegerWhen setting the page limit, specifies the maximum number of unfiltered records that can be fetched from the data store in one request. Filtering happens after the records are retrieved. Subsequent pages might include results that match the query criteria.
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
pagestringFor list pagination. The value of the opc-next-page or opc-previous-page response header from the previous "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).

SELECT examples​

Return a list of errors for a given work request.<br />

SELECT
code,
message,
timestamp
FROM oci.logging.work_request_errors
WHERE workRequestId = '{{ workRequestId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
AND page = '{{ page }}'
AND limit = '{{ limit }}'
;