# Troubleshooting the Documint App

#### Workflows errors

The Documint app provides a custom workflow action that allows you create documents with your enrolled objects when a workflows is triggered. The created document is stored in a note in your record.&#x20;

If your document is not being attached, the most likely cause is that the Documint app does not include the required "automation" scope.&#x20;

You can fix this by re-authorizing the app. From the HubSpot dashboard, go to settings > Integrations > Connected apps > Documint > Actions > Go to settings > Authorize. This will open a frame requiring you to authorize the Documint app.&#x20;

<figure><img src="/files/1awtBVAO9XWsMfai2ZDg" alt=""><figcaption></figcaption></figure>

If this does not solve the problem, it could indicate a deeper problem.&#x20;

You can find more information on the error by inspecting the record's enrollment history logs. In the "action succeeded" section (action succeeded just means that HubSpot successfully made a request for the Documint action. It does not necessarily mean the action itself was successful) you will find the response error message.

<figure><img src="/files/iPbrZYe1pGUyAteSpFwC" alt=""><figcaption></figcaption></figure>

Share the error response with Documint support for a speedy resolution.

#### Documint card not showing up wiith custom objects

Due to limitations with HubSpot application development, CRM cards can not apply to custom objects. For information on how to work with custom objects in the Documint extension, see [Working with Custom Object Data](/integrations/hubspot/working-with-custom-object-data.md).&#x20;

#### Slow document rendering

Document rendering time in Documint can increase not only with template size but also due to several other important factors, particularly when working with the HubSpot extension.

A significant performance factor is the management of associated records. The app retrieves these records in batches of 100 from HubSpot, meaning that even one additional record over this threshold (101 records) would trigger an extra request. Additionally, each different type of associated object requires its own separate request to HubSpot.

To optimize performance, we recommend auditing your record associations. If you find unnecessary or outdated associations that have accumulated over time, removing them can significantly improve rendering speed. This is especially important when dealing with both large quantities of associations and diverse object types.


---

# 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.documint.me/integrations/hubspot/troubleshooting-the-documint-app.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.
