Skip to main content

work_request_errors

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

Overview​

Namework_request_errors
TypeResource
Idoci.object_storage.work_request_errors

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
codestringA machine-usable code for the error that occurred. For the list of error codes, see [API Errors](/Content/API/References/apierrors.htm).
messagestringA human-readable description of the issue that produced the error.
timestampstring (date-time)The time the error occurred.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectworkRequestId, regionpage, limit, opc-client-request-idLists the errors of the work request with the given ID.

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 ID of the asynchronous request.
limitintegerFor list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).
opc-client-request-idstringThe client request ID for tracing.
pagestringFor list pagination. The value of the opc-next-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​

Lists the errors of the work request with the given ID.

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