In general, you typically render TOC twice. The first time so it consumes the appropriate place and render headings and styles. The second time you render it again, but this time just with page numbers and merge it into the main template. Like here https://playground.jsreport.net/w/admin/akYBA4rS https://jsreport.net/learn/pdf-utils#toc-table-of-contents
This means that the dots should be hidden by you the second time and invisible.
Anyway, please share MINIMAL playground demo so we can take a look.
The most common reason for this error is the Chrome reaches some resource limits. And the most common reason to reach the resource limits is because of high-resolution images. This is mentioned here https://jsreport.net/learn/chrome-pdf#images-increasing-pdf-size
@mein-Jaan This is a different kind of question. Please create a new forum topic so we can discuss it there. Please also share a playground workspace replicating the issue.