Skip to main content

Failure reasons

Every failed check in a report has two descriptions:

  • Reason: a short, fixed label for the kind of failure, such as "Doesn't match". It is the Reason column of the Excel export's Results sheet, so failures can be filtered and counted by it in Excel. The report page shows the same column.
  • Details: what happened for that one check, such as Expected "EXAMPLE CLIENT". It is the Details column. The Extracted Text column in Excel (Text checked on the report page) shows what the check read.

Passed checks have no reason. Reports made with an earlier version of NodePDF may have failures without a reason.

Reason kinds​

ReasonCaused byWhat to do
Data frame not foundThe check belongs to a data frame, and the frame was looked for on the PDF and not found (its fixed texts, the anchors, were not on the page). All checks of that frame fail with this reason.Open the file in the Review view. If the title block is a different one, the file may belong to another document type. If it is the right title block, check on the data frame page that every anchor is a text that appears on every drawing, and try the frame on the file as a test file.
Data frame missingThe data frame the document type imports, or the version it is locked to, no longer exists in the project.On the document type page, under Data frames, remove the import and import the frame again.
Text printed twiceAn area the check reads has the same text printed twice on top of itself. The check fails whatever it says on its own.Have the PDF produced again without the doubled text. See Extracts › Text printed twice.
Could not be checkedSomething the check needed was not available while the report ran.Run the report again. If it happens again, report it to your administrator with the file.
Extract emptyA Not empty check found nothing in its area.Open the file in the Review view. If the field is blank, the drawing needs correcting. If the field is filled in but outside the area, adjust the area (or use a data frame).
Check not set upReserved for checks that miss a setting. Not given yet: such failures currently show as "Doesn't match".Open the Validator and complete its settings.
Doesn't matchThe text does not meet the check: Fixed value, Text contains, Empty, Pattern, One of a list, Date, Matches filename or Lookup. Also used, for now, for an empty Extract, a key missing from a lookup table, and set-up problems (see below).Compare Text checked with Details. If the drawing is wrong, correct it. If the text is right but read differently (a label left in, two lines run together), adjust the Extract or add a Modifier. If the rule is too strict, adjust the Validator.
Not in lookup tableReserved for a key that is not in the lookup table. Not given yet: such failures currently show as "Doesn't match".Add the value to the lookup table, or correct it on the drawing.
Image not foundAn Image check did not find its image with the required similarity, or could not look for it.Read the similarity in Details. A low score means the image is missing or different. A score just under the threshold may mean a slightly different version of the logo: lower the Match threshold a little. Check that the image is inside the search area and printed at the same size.
PDF propertyA property of the PDF itself: PDF/A, Readable text, No Autodesk SHX text or Page format.Produce the PDF again with the right settings: PDF/A export, text instead of a scan, TrueType fonts or SHX comments, the right sheet size.

Result labels​

Shown asIn Excel (Status, Fails File)Meaning
PassPASS, NoThe check passed.
FailFAIL, YesA required check failed. The file fails.
Fail (optional)FAIL, NoAn optional check failed. The file does not fail.
Fail (excluded)FAIL, YesShown on the report page only, when its reason has been set aside there. The Excel export always counts every failure.

Detail messages​

Messages are quoted as NodePDF writes them. Parts in angle brackets stand for values that differ per check:

PlaceholderStands for
<value>The expected value, or the value of the project variable used.
<text>The text the check read.
<name>, <list>The name of a project variable, list, saved pattern, data frame or Extract.
<pattern>A Pattern in words (Simple mode, such as "P" + 2 digits) or the regular expression (Regex mode).
<format>A date format such as DD/MM/YYYY.
<key>The text a Lookup looked up.
<n>, <pages>A number, or a list of page numbers.
<score>, <threshold>An image similarity (1.00 = identical), and the Match threshold it must reach.
<level>A PDF/A conformance level, such as B.
<details>The check's own details, as listed below.

Messages added by the report​

These wrap or replace a check's own message.

DetailsReasonMeaning
Data frame "<name>": not found on page <n>Data frame not foundThe frame's anchors were not found on that page.
The data frame no longer existsData frame missingThe imported frame was removed from the project.
Version of data frame "<name>" no longer existsData frame missingThe frame version the document type is locked to was removed.
Text printed twice in "<name>": "<text>" (<details>)Text printed twiceThe Extract named reads doubled text. The check's own details follow in brackets.
Could not be checked: <details>Could not be checkedThe check could not finish, for example Could not be checked: Loading….

Every text check​

These can appear for any Validator that reads an Extract.

DetailsMeaning
No extract selectedThe Validator's Checks field is empty, usually because the Extract it read was deleted.
The extract is emptyThe Extract read nothing. Empty and Not empty treat this as their normal result.
The project variable it compares with no longer existsThe value comes from a project variable that was deleted.
Project variable "<name>" has no valueThe value comes from a project variable without a value.

Fixed value​

DetailsResult
Equals "<value>"Pass
Expected "<value>"Fail: the text is different.

Text contains​

DetailsResult
Contains "<value>"Pass
Doesn't contain "<value>"Fail
No text to look forFail: Text to find is empty.

One of a list​

DetailsResult
Is "<text>" in list "<list>"Pass
Not in list "<list>" (<n> options)Fail. With one option: (1 option).
No list selectedFail: no list chosen.
The list it checks against no longer existsFail: the list was deleted.
List "<list>" has no optionsFail: the list is empty.

Date​

DetailsResult
Is a date (<format>)Pass. With Any common date format, names the format found.
Not a dateFail (any common date format).
Not a date in the format <format>Fail (a chosen format).
"<format>" is not a valid date formatFail: the custom format lacks a year, month or day.

Matches filename​

DetailsResult
Equals the file namePass
File name is "<name>"Fail. Shows the full file name, for example File name is "NDXTEST-NHX-B1-00-DR-A-200100_P02.pdf".

Empty​

DetailsResult
The extract is emptyPass
Expected nothing, read "<text>"Fail

Not empty​

DetailsResult
The extract reads somethingPass
The extract is emptyFail (reason: Extract empty)

Pattern​

DetailsResult
Matches <pattern>Pass, for example Matches "P" + 2 digits.
Doesn't match <pattern>Fail, for example Doesn't match 1 digit + ":" + 3 digits + " @ A" + 1 digit.
Doesn't match (empty pattern)Fail: the pattern has no blocks yet.
"<pattern>" is not a valid patternFail: the regular expression (Regex mode) is invalid.

A Simple pattern with a problem in one of its blocks fails with that problem:

DetailsFix
A number block has a maximum below its minimumCorrect the block's counts.
A letters block has a maximum below its minimumCorrect the block's counts.
An 'any characters' block has a maximum below its minimumCorrect the block's counts.
A 'one of' block has no optionsAdd options, one per line.
An 'or' block has no alternativesAdd an alternative, or remove the block.
An 'or' block has no blocks yetAdd blocks to at least one alternative.
A variable block refers to a project variable that no longer existsChoose another variable.
Project variable "<name>" has no valueGive the variable a value.
A list block has no list chosenChoose a list.
A list block refers to a list that no longer existsChoose another list.
List "<name>" has no optionsAdd options to the list.
A saved pattern block has no pattern chosenChoose a saved pattern.
A saved pattern block refers to a pattern that no longer existsChoose another saved pattern.
Saved pattern "<name>" is not a valid regular expressionCorrect the saved pattern.
A regular expression refers to a project variable that no longer existsA saved pattern's regular expression uses a deleted variable: correct the saved pattern.
Saved pattern "<name>" contains itselfA saved pattern uses itself, directly or through another one: remove that block.
Saved patterns are nested too deeplySaved patterns use each other more than 10 levels deep: simplify them.

Lookup​

DetailsResult
Found in the row of "<key>"Pass (Row)
Matches "<value>"Pass (Columns)
Not in the row of "<key>"Fail (Row): the key was found, but the compared text is not in its row.
Expected "<value>"Fail (Columns): the key was found, and the table expects this value.
"<key>" not found in the lookup tableFail (Row): no row contains the key.
"<key>" not found in the lookup columnFail (Columns): the key is not in Find it in column.
No extract to look up selectedFail: Looks up is empty.
No lookup table selectedFail: Lookup table is empty.
Extract to look up: the extract is emptyFail: the key's Extract read nothing.
Lookup columns are not setFail: a column is missing.
The lookup table is not available in this browserFail: the table's file is not in this browser. Import the table again on Project › Lookup tables.
The lookup table has no sheetsFail: the table is empty.

Image​

DetailsResult
Found the image anywhere on page <n> (similarity <score>, needs <threshold>)Pass. With In an area of page N: Found the image in an area of page <n> (…). A rotated match adds , rotated <n>°.
Image not found anywhere on page <n> (best similarity <score>, needs <threshold>)Fail: the closest match is below the threshold. With an area: Image not found in an area of page <n> (…).
No image captured yetFail: capture the image from the template.
The PDF has no page <n>Fail: the PDF is shorter than the page searched.
The image is larger than the area it is looked for inFail: enlarge the search area.
The captured image is blankFail: capture the image again.
The captured image is not available in this browserFail: capture the image again, or import the project again.
The image's background could not be ignoredFail: turn off Ignore the busy background behind the image, or capture again.
The image could not be looked forFail: the search did not run. A technical message may follow after a colon.

All Image failures have the reason Image not found.

PDF/A​

DetailsResult
PDF/A conformance <level>Pass, for example PDF/A conformance B.
The PDF declares no PDF/A conformanceFail
PDF/A conformance is <level>Fail: a level other than the required one.

Readable text​

DetailsResult
The PDF has readable textPass
The PDF has at least <n> readable text itemsPass, with a Minimum text items.
The PDF has <n> readable text items, fewer than <n>Fail: some text, but less than the minimum (the second number), for example The PDF has 12 readable text items, fewer than 40.
The PDF has no readable textFail: for example a scan.
The PDF has no readable text: its text is AutoCAD SHX text (<n> texts), drawn as linesFail: the only text is SHX text.

No Autodesk SHX text​

DetailsResult
The PDF has no AutoCAD SHX textPass
The PDF has AutoCAD SHX text: <n> texts on pages <pages>Fail, for example The PDF has AutoCAD SHX text: 12 texts on pages 1, 3 or … 1 text on page 2.

Page format​

DetailsResult
Pages 1 and 2 are A1, page 3 is A3FFPass (Any of these): the pages and their formats.
Page 1 is 841 × 594 mm (A1 landscape), not A4Pass (None of these).
Page 2 is 420 × 297 mm (A3 landscape), not A1 or A3FFFail (Any of these): a page is not one of the chosen formats.
Pages 1 and 3 are A4 (210 × 297 mm)Fail (None of these): pages are one of the excluded formats.
Page 1 is portrait, not landscapeFail: wrong orientation.
Pages 1, 3, 5, 7, 9 and 2 more are 210 × 297 mm (A4 portrait), not A1Fail: long page lists are shortened.
The PDF has no page 5 (3 pages)Fail: a page in Pages to check is past the end of the PDF.
No formats chosenFail: tick at least one format.
No pages chosenFail: enter pages to check.
The PDF has no pagesFail

Several problems are joined with ; .

Files without results​

Some files in a report have no checks at all. The Files tab shows them with their own result:

Result (Files tab)Excel OutcomeMeaningWhat to do
No document typeNO DOCUMENT TYPENo document type's filter matched the file, so nothing was checked.Check the file name against the document types' file name patterns, or the filter Validator's result (for example the page size). The file may be of a kind the project does not check.
UnreadableUNREADABLEThe PDF could not be opened. The Excel Note says why: Couldn't read this PDF: <error>.Open the file in a PDF reader. Damaged files, password-protected files and files that are not real PDFs cannot be read.

A file can also belong to several document types; it is then checked once for each.

How the document filter decides​

The document filter of each document type decides which files belong to it. Its result is shown on the document type page under Document filter (Matched files) and for each test file, as "Matched: …" or "Not matched: …" followed by one of these:

MessageMeaning
The file name matches the patternFile name filter: the file belongs to the document type.
The file name doesn't match the patternFile name filter: it does not.
The file name pattern can't be used: <problem>The pattern has a problem (for example an invalid regular expression or a missing variable). It matches no file.
Validator "<name>": <details>Filter by Validator: the Validator's own details, for example Validator "Not A4": Page 1 is 841 × 594 mm (A1 landscape), not A4.
The filter validator no longer existsThe filter Validator was deleted. No file matches.

In the test files pop-out, a file the filter does not match is marked "not matched by the document filter". It is still checked there, because you added it on purpose; in a report it would not be.

In the example project

Both document types filter by a hidden Page format Validator: "Drawing" takes every PDF whose first page is not A4, "Text document" every PDF whose page 1 is A4. A readable PDF therefore always gets one of the two.

What the Reason column does not yet separate​

Some failures are currently filed under Doesn't match although they are something else. The Details column tells them apart:

DetailsReally means
The extract is emptyThe Extract read nothing (an empty field, an area in the wrong place, or text the PDF doesn't store as readable text; see Common PDF problems). Only Not empty files this under Extract empty.
"<key>" not found in the lookup table, "<key>" not found in the lookup columnThe key is missing from the lookup table.
No extract selected, No list selected, No lookup table selected, Lookup columns are not set, a Pattern block problem, a missing or empty project variableThe check is not fully set up.

Likewise, a set-up problem of a Document or Image check is filed under PDF property or Image not found (for example No formats chosen, No image captured yet).

When a report has many "Doesn't match" failures, filter the Excel export's Results sheet on Reason = "Doesn't match" and sort the Details column to see which of these they are.