Sporadic PDF generation issue

Incident Report for Onfido

Postmortem

Summary

Between May and June 2026, around 0.037% of the evidence files generated on the platform were incomplete and included in the corresponding evidence folders.

There was no impact on workflow results, and no incorrect information was ever displayed — the affected files were simply empty rather than wrong.

A small number of requests to generate timeline files were also affected (around 0.073%).

Root Causes

The issue was introduced during an initiative to improve how timeline and evidence PDFs are generated — making them significantly smaller, more efficient, and more resilient to produce. As part of these changes, in rare cases the new flow attempted to generate the PDF before its content had fully loaded, resulting in a blank or nearly empty file.

Because the problem was intermittent and occurred only in rare timing conditions, it was not consistently reproduced during rollout testing.

Timeline

  • 15 June 2026: Engineering investigation found an incomplete PDF and started the root cause investigation
  • 17 June 2026: Root cause investigation completed and a safeguard to prevent incomplete PDFs was deployed

Remedies

  • We corrected the PDF generation flow so PDFs are only printed after content has fully loaded, and added a safeguard that stops generation when an incomplete PDF is detected.
  • We also improved our monitoring and test coverage for PDF generation, so similar issues are caught earlier in the future.
Posted Jul 13, 2026 - 08:40 UTC

Resolved

Incident was solved.
Posted Jun 17, 2026 - 11:00 UTC