# Thousands of draw.io macros failed on invalid diagram content **What you are seeing** Thousands of draw.io macros failed with a message about invalid diagram content. --- ## Why it happens A known, since-fixed bug: diagram files were read as text rather than as raw bytes, so drawings stored inside PNG previews could not be recovered. It accounted for roughly 95% of one production run's eighteen thousand failures. --- ## What to do These pages were never damaged, the original macros were left exactly as they were. Simply re-run on a current build. If you are reading an old log, know that its failure count overstates reality. --- ## Related [Migrated diagrams show old contentMigrated draw.io diagrams are showing old content instead of the current drawing.](https://help.gocapable.com/migration/migrated-diagrams-show-old-content.html) [Every copy of a multi-tab diagram shows the first tabA diagram file with several tabs was embedded more than once on a page, and now every copy](https://help.gocapable.com/migration/every-copy-of-a-multi-tab-diagram-shows-the-first-tab.html) [Diagram problems after migratingThe rest of this family.](https://help.gocapable.com/migration/diagram-problems-after-migrating.html) --- _Found it? Good. Next._