Retrieve all error logs for a workflow
GET/workflows/:workflowId/errors
This endpoint fetches an array of errors for a specific workflow.
It returns the error message, and the date stamp when the error was thrown, the block that caused the error, and the workflowId
. Commonly used to debug workflows when they error and identify historical errors; this endpoint may be used in conjunction with the route error messages feature.
If there are no errors for the specified workflow, this endpoint will return an empty array.
Request
Path Parameters
workflowId stringrequired
The Id of the workflow you want to find errors for
Query Parameters
userId string
The Id of the user you want delete logs for. Returned from the Create User endpoint
Header Parameters
Authorization stringrequired
Default value: bearer YOUR_API_KEY
Responses
- 200
- 400
200
- application/json
- Schema
- Result
Schema
any
{
data: [ {
workflowId: '632531cf3beb6c98611abd09',
block: 'shopify',
errorOccurredAt: '2022-09-17T22:12:34.567Z',
message: 'The customer failed to create due to an invalid Id'
}]
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
object
{}
{}
Loading...