# Log item failures for a task

This endpoint can be used by external tasks to report an error while processing a specific workset item as part of a workset execution.

Endpoint: POST /api/v2/cm/branches/{branchId}/tasks/{taskId}/callback/log
Version: v2.0
Security: OAuth2.0

## Path parameters:

  - `branchId` (string, required)
    The ID of the branch, for example prod.

  - `taskId` (string, required)
    The unique identifier of the task.

## Request fields (application/json-patch+json):

  - `failures` (array, required)

  - `failures.item` (object, required)

  - `failures.item.id` (string, required)

  - `failures.item.type` (string, required)
    Enum: "ContentItem", "ContentType", "Taxonomy"

  - `failures.item.version` (integer, required)

  - `failures.item.locale` (string,null)

## Response 400 fields (application/json):

  - `type` (string,null)

  - `title` (string,null)

  - `status` (integer,null)

  - `detail` (string,null)

  - `instance` (string,null)


## Response 204 fields

## Response 401 fields

## Response 403 fields

## Response 500 fields
