PDF/A is a restricted flavour of PDF meant for long-term storage. It forbids anything that depends on the outside world: fonts that are not embedded, colours without a profile, links to external content and encryption. When a file fails validation, it is nearly always for one of a handful of reasons, and most of them can be fixed in a few minutes once you know what to look for.
Choose the level once
For scanned material, PDF/A-2b is a sensible default. It allows JPEG 2000 compression and transparency, and the "b" level only promises that the pages will look the same in the future. Level "a" additionally requires tagged structure, which is rarely worth the effort for scans. Write the chosen level in your batch notes and keep it consistent so that a validator report always means the same thing.
The errors that appear most often
- Font not embedded. Typical for files created from office documents on a machine with unusual fonts. Re-export with "embed all fonts" turned on, or let the converter substitute an embeddable face. For scans with a hidden OCR text layer, check that the layer font is embedded as well.
- Missing output intent or colour profile. Every device-dependent colour space needs a defined profile. Converting greyscale and RGB scans with an sRGB or grey profile attached usually clears the problem in one pass.
- Transparency in a PDF/A-1 file. Level 1 does not allow it. Either move to level 2 or flatten the page before conversion.
- Encryption or password protection. Not permitted. Remove the restriction before converting; keep the original untouched in case the permissions mattered.
- Metadata mismatch. The document information dictionary and the XMP packet must agree on title, author and dates. Tools that edit one without the other are the usual cause. Rewrite both together.
- Embedded files or JavaScript. Attachments and scripts are rejected in older levels. Strip them and store the attachments as separate files next to the PDF.
Validate, then read the report
Use a dedicated checker rather than trusting the "save as PDF/A" label of an application. A good report lists the clause that failed and the page it failed on. Fix the first error and run it again, because one problem often produces a dozen identical lines. If you are processing thousands of files, validate a sample of every batch and all files that went through a different conversion path.
Keep the fixes boring
Avoid clever repair scripts that rewrite files in place. A conversion that produces a new file, with the original kept alongside until the new one has been validated, is easy to reason about and easy to repeat. Record the tool name and version in the batch notes, since different engines interpret grey areas of the standard differently.
Finally, remember that a valid file is not automatically a good file. Open a few of them, search for a word you know is on the page, and make sure the text layer lines up with the image. Validation proves that the file follows the rules; only a human check proves that it still says what the paper said.