> For the complete documentation index, see [llms.txt](https://docs.dckapintegrator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dckapintegrator.com/project-manager/workflows/actions/error-logger.md).

# Error Logger

Error Logger handler is used to log any general errors or warnings in the flow. The Logs menu in the project area displays all the logs from the synchronization.

<figure><img src="https://2655769465-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjVABEcCgwItwY4IEAD%2Fuploads%2FbW0NjPxoxuryJNohWGHR%2FError%20Logger.png?alt=media&amp;token=a95476f1-cc65-43b2-a598-bef47052400a" alt=""><figcaption></figcaption></figure>

### Options

* ***Message*** - Content to be logged. Shown on the logs page when the user clicks the "View detail logs" button. Message value character limit is 200.

{% hint style="warning" %}
Each Error Logger step supports a maximum of 200 characters and a total of 1000 characters per workflow. Longer messages will be truncated to the above character limit.
{% endhint %}

### Examples:

It can be a raw string

<pre><code><strong>Unable to make the get products API because of missing category ID.
</strong></code></pre>

or a field from [Data Hub](/project-manager/workflows/flow-builder.md#data-hub)

```python
{{1.response.error_message}}
```

or both

<pre><code><strong>Get products is failed. More details: {{1.response.error_message}}
</strong></code></pre>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.dckapintegrator.com/project-manager/workflows/actions/error-logger.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
