# 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="/files/IbZEEYpSJuQatfwEXRLi" 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: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
