06. Troubleshooting, FAQ and known limits
Find your symptom, read the cause, apply the fix.
Start with two questions. They solve half of all problems.
- Where did you run it? A recipe runs from the Run tab (server), the Schedule tab, the command line, or the Linux app. The add-in's own Actions > Merge does not run recipes.
- What color was the message? Red means you need to fix the recipe. Yellow means the data is odd, and the report still ran.
Contents: 1 Symptoms · 2 Common questions · 3 Known limits · 4 How to ask for help
1. Symptoms
On the screen
| Symptom | Cause | Fix |
|---|---|---|
| The preview says to add a summary table | Nothing is built yet | Press + Summary table |
| "Table 'X': add a calculation. Press "+ Calculation" on its card" | A summary table has a group but no calculation | Under Calculate, choose Total of and a column. This is normal until you do |
A new table is named Summary2, not Summary |
The data already has a column called Summary. A table may not share a name with a column |
Rename it in the first box of the card |
| "...the name 'Amount' is also a column in 'transactions'" | A calculation or total is named like a data column | Rename it (Total, not Amount) |
| "Parameter 'Region': the name 'Region' is also a column in 'customers'" | A parameter has the same name as a column in any table the report loads | Rename the parameter (Area, BillingPeriod). The name must differ from every column |
| "Parameter 'BillingPeriod': '2026-02-01' is not a date range. Write two dates with '..' between them" | A date range needs two dates | Write 2026-02-01..2026-03-31. Either end may be left out |
| "...groupSort[0]: 'by' must be a subtotal, 'Count', or the group's own name" | Order the groups names something else | Choose one of the names the message lists |
"...percentile needs "p"" (or nthLargest needs "n") |
The function's extra box is empty | Fill in the percent or the number |
| A cross-tab loses rows, and a yellow note says "2 of 5 record(s) have no rows" | Keep only groups where on the cross-tab dropped them | Expected. Loosen the condition to keep them |
| "...the name 'ByMonth' is already used" | Two tables share a name | Rename one |
| Chart: "...is a groupBy column, not a number" | The measured column is a group column | Measure a calculation or running total |
| You cannot pick a cross-tab as a chart source | A chart can only be drawn from a summary table | Make a summary table of the same data and chart that |
| "a perRecord chart needs "recordKey"" | Each record is one is empty | Choose the record column, or set the chart to "for everything" |
| "'rows' and 'columns' are both ..." | A cross-tab uses the same column twice | Choose two different columns |
| Add a Total row and column is greyed out | The calculation is an average (or min/max), which cannot be added up | Use Total of or Count |
| My loose data files are missing from Main table | They are hidden by default | Tick Show my loose data files (the choice is remembered) |
A table I need (payments) "is not here" |
A summary reads all its tables from one place. payments.csv is a loose file, but the Main table is in a Data Set |
Add payments.csv to the same Data Set (Edit, then Add tables), then close and reopen the screen |
Two files called transactions.csv, and the screen picks the wrong one |
The same file was imported twice | Delete the extra copy |
| A blue notice: "The preview uses the first 50,000 rows..." | Large file | Normal. A real run uses every row |
| The preview shows nothing for a chosen record | The record key column is empty in the data, or Each record is one was cleared | Choose it again |
| After choosing a saved recipe, the Main table changed | By design: the recipe's group (Data Set or data files) and key decide it | Choose your Main table again if that is not what you want |
Messy data (yellow "Worth a look")
| Symptom | Cause | Fix |
|---|---|---|
| "N value(s) in 'Amount' are not numbers and were skipped" | n/a, text, or a dollar sign ($1,250.50) |
Clean the column. Summaries skip $ amounts exactly as {{SUM}} does, so the two agree |
| "1 blank value in 'Amount' (first: row 40)" | An empty cell | Fill it, or accept that it is skipped |
| "1 value in 'Date' that is not a date" | A bad date | Fix it. That row counts in totals but is left out of by-month lists |
| My totals differ from my spreadsheet | A skipped row | Read the yellow box. It names the first bad row |
| "N value(s) of 'X' could not be calculated" | A formula divided by zero or used a missing value | Fix the data or the formula. The rest of the report runs |
| A donut warns about more than 8 slices | Too many categories | Add a top-N (for example top 7 plus "Other") to its table |
In the Word template
| Symptom | Cause | Fix |
|---|---|---|
{{ForEach:ByMonth}} shows nothing |
The table is not linked to the records, or the name is misspelled | Link the tables (in the Data Set, or with --detail). Copy the loop name from Use in a document |
| The cross-tab table swallows other text | <<Name>>{{CreateReportTable:\|}} is in a paragraph with other text |
Put it in a paragraph of its own |
| Two tables touch each other | Back-to-back tables | Add an empty paragraph between them |
Unknown token ... left unresolved |
You typed literal {{...}} or <<...>> in explanatory text |
Describe it in words, without braces |
| Two charts do not fit side by side | {{ResizeImageTo:N}} is in points, and text width is about 468 |
Use about 226 each |
A chart shows [[Chart_Monthly]] as text |
The chart name does not exist, or the merge did not run a recipe | Check the chart's name on the screen (the column is Chart_<Name>). Run from the Run tab |
| A chart or cross-tab is empty after Actions > Merge | The add-in's own merge does not run recipes | Run from the Run tab, the command line, or the Linux app |
| A date or text looks wrong inside a loop (Interactive mode) | Interactive mode applies only a few functions after a field inside a loop | Use Turbo mode, the server or the command line, which apply all of them |
| A field in a header or footer stays as written | The header or footer holds a {{ForEach}} loop or a [[picture]] (they are not merged there), or the run was the add-in's own Interactive merge |
Put loops and pictures in the body. Fields, functions and {{IF}} in a header or footer work in server runs and with dp-node |
| Every page has the first customer's header | The records were run together on shared pages (Run them together, no page breaks) | Choose A page for each Customer. Each record then gets its own header and footer |
The QR code or bar code shows as [[Barcode_Scan]] text |
The name does not match the barcode's name (the field is Barcode_ plus the name), or the picture field shares a paragraph with other text |
Copy the name from Use in a document. Put the picture field alone in its own paragraph |
| A record has no QR or bar code, and a yellow warning says "have no value in..." | The value (or a column used in the pattern) is blank for that record | Fill in the data, or accept that the record has no picture. The run still finishes (exit 5 on the command line) |
| A Code 128 bar code is missing for one record | Code 128 holds plain ASCII characters only (no accents) | Use a QR code, or clean the value |
| A QR code will not scan | It is printed too small, or the web address is wrong | Make it larger with {{SetImageWidth:N}} (a whole multiple of its squares), print a sample and scan it. Read the exact text in the picture's Alt Text |
The QR address breaks at a space or & |
The value was put in with {Column} |
Use {Column:url} in a web address, so a space becomes %20 and & becomes %26 |
| The Preview tab shows no QR picture, and a label sheet as a plain table | The preview does not draw barcodes or pages | Run it and look at the finished Word file |
| A label sheet will not fit a page: a blank last page, rows that creep down, sheets that split across pages, or labels cut off | The page body is shorter than rows × row height, or as tall as one more row. The row height is not Exactly. The table is not fixed width. A paragraph after the table is full height. Print scaling is on | Set the row height to Exactly, the table to fixed widths, and cell margins to 0. Make the page body at least rows × row height and under one more row, with about 0.1 inch spare. Make the paragraph after the table 1 point. Print at actual size. See lesson 16 |
| Labels print a little off from the real sheet | The sizes in Word are not the label maker's, or the printer shifts the print | Take the measurements from the package or the maker's template, print on plain paper and hold it against a real sheet in front of a light |
{{IF}} shows the wrong part |
The test has a typo, a text value is missing quotes, or the capital letters differ (East and east are different) |
Check the test. Quote text. Text tests are exact |
Links
| Symptom | Cause | Fix |
|---|---|---|
| A link is plain text, not blue | There is no matching {{Bookmark}} (a "dangling link"), or the run was in Interactive mode and the link is inside a loop |
Add the bookmark with the same group and qualifier, and use Turbo |
| In one combined document, every customer's "2026-03" jumps to the first customer | The link and bookmark need a qualifier | Use {{LinkTo:Mon:Customer}} and {{Bookmark:Mon:Customer}} |
Warning: repeated bookmark values (_Cat_Fuel) |
The same value is bookmarked more than once | Expected for repeated categories. The first is kept. Add a qualifier or make the values unique |
| "{{Bookmark:Q:NoSuchField}}: there is no field named..." | Misspelled qualifier | Correct it |
| Yellow notice: "Links inside a loop are made by Turbo mode" | A header with merge fields forced Interactive mode | Remove the header field, or merge in Turbo |
| The link shows a stale page number | Page numbers on links are not supported | Link by text, not page |
| Bookmarks are hidden in Word | By design (the name starts with _) |
In Word, choose Insert > Bookmark and tick Hidden bookmarks |
Running
| Symptom | Cause | Fix |
|---|---|---|
| The Template list on the Run tab is empty or missing my file | It was not uploaded | Upload it under Files > Word Files |
| A red box lists several problems | The recipe has mistakes. All are listed at once | Fix them. Nothing runs until you do |
| An error that filters left no rows | A parameter filter excludes everything | Loosen the values |
| More than 5,000 records | The Run tab's limit | Use the Schedule tab (20,000 records) or the command line |
| PDF is not offered | PDF output needs LibreOffice on the server | Choose Word, or contact support |
| The run is "Waiting" | Two other runs are working | It starts by itself. A waiting run says how many are ahead |
| "Merging record n of 5" is stuck | A run stopped part-way | Press Cancel, then run again. If it keeps happening, contact support |
dp-node exit 3 |
The recipe, job or a parameter is invalid. Nothing was written | Read the messages, one per line |
dp-node exit 5 |
Finished with warnings. Files are written | Read the warnings and decide whether they matter |
dp-node exit 6 |
An output file already exists | Use --overwrite, or a new --out |
dp-node says "A license or trial" is needed |
Merge and prep need a license | Activate a license or trial |
--name is refused |
It was used with --mode one-per-page |
Drop --name |
Schedules, e-mail, keys and links
| Symptom | Cause | Fix |
|---|---|---|
| Schedule it asks for a name or template | Required fields are blank | Fill them in |
| A custom cron is refused | It is not five fields (for example every day) |
Use a 0 7 1 * * style schedule |
| A report is running every minute | A test cron * * * * * was left on |
Edit it back to something sensible, or Delete it |
| The run is Failed: "The Word template this report uses was not found" | The template was deleted | Upload it again and edit the report |
| A saved report ignores my new screen changes | A scheduled report keeps the summaries it was saved with | Edit it and tick "Replace its saved summaries with the ones on this screen" |
| The combined-file option will not save | E-mail each customer their file is ticked | Untick e-mail first |
| The run ends Needs approval | It would send more messages than your limit | Check, then press Approve and send |
| The run ends Reconnect e-mail, and the schedule is Paused | Your e-mail account is disconnected | Reconnect, then press Resume on the run |
| The run ends uncertain or Stopped | A timeout or dropped connection, or you pressed Stop sending | Check Sent Items, then Resume (nothing already sent is repeated) |
| Arm for live sending is refused | No test run yet | Run in test mode and look at the messages first |
| An API key gets 403: "An API key cannot do this. Sign in as a person." | Arming, approving, resuming and key management are a person's decisions | Do it in the app |
| 403: "This key does not have the report-jobs:write permission." | The key lacks that permission | Make a key with the permission you need |
| Exit 4: "That API key is not valid, has expired, or was revoked." | It was | Make a new key |
| "--key takes the NAME of an environment variable" | You typed the key itself | Put the key in DP_API_KEY and leave out --key |
| "Use https:// ... The key would travel unencrypted" | You used --server http://... |
Use https |
| A shared link shows "This link is not valid, or it has expired." | The link is wrong, expired or revoked. All three look the same on purpose | Make a new link |
| "Too many requests. Please wait a moment" | About 60 requests in 5 minutes | Wait a moment |
2. Common questions
Do I have to write JSON? No. Build the recipe on the Summaries & Charts screen. The JSON is there if you want to read or edit it.
Can I use my existing mail-merge templates? Yes. A recipe adds new fields. It does not change old ones. A template merged without a recipe works as before.
Why does the add-in's own Merge screen not run recipes? Recipes run on the DataPublisher server (the Run and Schedule tabs), the command line, and the Linux desktop app. The add-in's own merge command does not have the prep stage. This is a documented limit, not a fault.
Why is a chart a picture and not an editable Word chart?
So it works everywhere: Word, PDF, the body of an e-mail, and .odt.
Why can't I put a chart on a cross-tab? A chart is drawn from a summary table's rows. Make a summary table of the same calculation and chart that.
What is the difference between a Data Set and a data file? A data file is a CSV you uploaded. A Data Set is a named group of tables and their links, and it holds its own copies. Use a Data Set when there is more than one table.
What happens to my uploaded files if I delete a Data Set? Nothing. The Data Set holds its own copies.
Why do my totals differ from my spreadsheet by a cent?
Totals are rounded the way {{SUM}} rounds. Check the yellow box for skipped values first. A $ in an amount is the usual cause.
Can I trust the numbers? Compare the first report you build against a source you trust, as lesson 3 shows. The tutorial gives you the correct numbers at each step. DataPublisher's calculations were also checked against an independent database engine during development.
Can a report e-mail customers by accident? No. A new or edited report is always saved in test mode. Every message goes to one address you choose. Arming needs a test run you have looked at, plus a second press, and an API key can never arm a report. Still, use your own address while testing.
Can I run a report without the server?
Yes. Use dp-node merge for a recipe, or dp-node job run for a saved job file. Both run on your computer.
Can I get the data from my SQL Server? Yes, through a connector that delivers tables. A recipe summarizes the tables it is given. It does not run SQL.
Can I import a Crystal .rpt file?
Yes. Use Import a Crystal report under Data > Builder. You can choose several .rpt files at once. It builds a recipe, a Word
template and a conversion report listing what did not carry over. See 04a Import a Crystal report. For the parts it cannot convert, see
04 Coming from Crystal Reports.
Can I make name tags, address labels or signs with a QR code? Yes. Use a label sheet and, if you want a QR code on each label, a barcode for each label. See lesson 16 of 03 Next steps. You enter your label sheet's measurements in Word, because no label maker's sizes come with the product.
Does it work with .odt / LibreOffice templates?
Yes for links and report tables in the desktop apps and command-line tools. Not in the add-in.
3. Known limits
These are not bugs. Plan around them.
Runs
- A Run tab run makes Word documents (or PDF, if LibreOffice is available on the server), reads up to 5,000 records, and takes up to 5 minutes. One person has one run at a time.
- Scheduled runs, and "Run now" on the Schedule tab, have larger limits: 20,000 records and 60 minutes. With a chart per customer, expect about 4 customers a second. With no charts, 20,000 customers took about 3 minutes.
- Two runs work at once. The rest wait their turn. A run that waits more than 6 hours is dropped.
- Pictures from an image library (
[[image]]) are not available in server runs. Chart pictures are. - The screen previews the first 50,000 rows of each table. A real run always uses every row.
Schedules
- Files are kept for 30 days and then deleted. The history rows stay.
- A scheduled report cannot refresh its data first.
- A report that fell due while the server was down runs once when it comes back.
- A scheduled report keeps a copy of the summaries as saved. Later screen changes do not reach it until you Edit it and tick "Replace its saved summaries".
- The file is attached to each message (up to 3 MB each), one message per customer, from your own connected account.
- You cannot attach the same file to every message. There are no e-signature campaigns and no broadcast lists.
- A send that ends in any way that does not clearly say "not accepted" (a timeout, a dropped connection, a server error) is uncertain. The run stops and you check Sent Items.
Documents
- Links inside a loop are made by Turbo mode only. Interactive mode says so and shows plain text.
- There are no page numbers on links.
- Interactive mode's own loops apply only a few functions after a field.
- Dollar-signed amounts are skipped by summaries.
.odttemplates get links and report tables in the desktop apps and command-line tools, not in the add-in.- Header and footer merge fields (and
{{IF}}) work in server runs and withdp-node, for.docxand.odt. Each record gets its own header only with one record per page. There are no loops or pictures in a header or footer. The add-in's Interactive merge and the Windows desktop merge do not give each record its own header, and the Windows desktop merge does not do.odtheaders. - A barcode belongs to a record or to a label, not to a line of a detail table.
- The Preview tab does not draw QR pictures, and shows a label sheet as a table, not as pages.
- DataPublisher gives no label-maker sizes. A label sheet is checked in Word for row heights and page count, but not against printed label stock. Print a test on plain paper.
- A table of contents in a template is kept, but the merge does not rebuild it.
- Percentiles, medians, ranks and the other summary numbers are worked out by the recipe before the merge. A template function cannot calculate them.
- A parameter's name may not equal a column in any table the report loads.
- A scatter chart's x axis shows plain numbers even when
formatis currency. - A grouped layout cannot feed a chart.
4. How to ask for help
Write to support@datapublisher.io and include:
- The lesson or step you were on, and what you expected versus what you saw (one line each).
- A screenshot or, for a document problem, the file itself.
- For the add-in: whether the run said
Turbo:or switched to Interactive mode, and any message text, word for word. - For a merge: the warnings (the command line prints them, and the add-in shows them in the result message).
- For the screen: the text on the Recipe file tab.
The recipe text and the warnings together let us reproduce nearly any problem without a call.