Troubleshooting
This section provides solutions for common issues you might encounter while using the Documint app.
Last updated
Was this helpful?
This section provides solutions for common issues you might encounter while using the Documint app.
Last updated
Was this helpful?
Looping over repeated elements is a common technical challenge users may face. We devote a whole section to troubleshooting in the page.
If text from your Airtable field is not appearing in your documents as it does in Airtable; for example, you have bulleted items or italic text, you can use the . The $md
formatter uses syntax to preserve some of the styling in your Airtable text fields. You can use it by adding the variable for your text into the formatter like so: {{$md field_name}}
.
This error is likely occurring because you have not provided a valid personal access token (PAT). Documint requires an Airtable PAT to access your data for document creation.
See on how you can create and add your Airtable PAT.
If you have already provided a PAT and your integration has stopped working, try regenerating your PAT and adding it to your Documint integration. If that does not work, try creating a new one with the required scopes and adding that one instead.
If you are still getting a 401 AUTHORIZATION_REQUIRED error, please contact Documint support.
There are two likely reasons why your list is not being sorted.
You have not provided a valid field to sort by.
The field you are sorting by is not the correct type.
First ensure that the field you are attempting to sort by exists and is correctly formatted. Check the field/property name of the list to see if you have provided the correct value for sorting. Then make sure it conforms to Documint's variable syntax (with the exception that it should not be surrounded by double curly brackets).
Secondly, your field needs to be a number field. Because the string data type holds alphanumeric (containing letters and numbers) characters, your field may look like a number field but still be of type string (HubSpot record IDs are stored as strings for example). If this is the case with your field, you can add the following expression to the top of your template and it should convert your field to a number type.
If you are looping over a list of objects (collection), you need to place the repeating logic on the highest level element that will be repeating itself.
If, instead, you place the repeating logic in each of the columns that display your objects properties, each column ends up repeating itself independently. Consequentially, if any of the objects in your list are missing properties, some of the columns will lag behind the others, and the rows will no longer be aligned.
If you experience a problem not covered here, or the troubleshooting steps have not resolved your issue, please contact Documint support.
This works by looping over all the objects and assigning the field_name field as a number within the of the object that is currently being iterated over.
See the troubleshooting section for the page for extended details on where to place the repeating logic.
[object Object]
appears when you try to reference an object directly. This can happen if you use the {{this}}
keyword within the of a collection (list of objects). This can also occur if the or you are using points directly to an object.
Variables placed directly in the template need to be of a string (alphanumerical), number, or boolean (true/false) . In order to display an object, you would need to display its .
For a detailed explanation of why this occurs, please read