Get External Task Error Details

Retrieves the error details in the context of a running external task by id.

Method

POST /external-task/{id}/errorDetails

Parameters

Path Parameters

Name Description
id The id of the external task for which the error details should be retrieved.

Result

This method returns no content.

Response Codes

Code Media type Description
200 text/plain Request successful. In case the external task has error details.
204 Request successful. In case the external task has no error details.
500 application/json An external task with the given id does not exist. See the Introduction for the error response format.

Example

Request

GET /external-task/anId/errorDetails

Response

org.apache.ibatis.jdbc.RuntimeSqlException: org.apache.ibatis.jdbc.RuntimeSqlException: test cause
  at org.camunda.bpm.engine.test.api.externaltask.ExternalTaskServiceTest.testHandleFailureWithErrorDetails(ExternalTaskServiceTest.java:1424)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

目录: