asset_content_mismatch
An asset's bytes do not match the media type its extension selects.
An asset's bytes do not match the media type its extension selects.
| Kind | Build or validation problem |
| Reported by | Archive and source validation |
disko exit code | 1 (problems) |
An asset's bytes do not match the media type its extension selects. The
extension alone decides the type, and the file must start with that format's
signature, for example 89 50 4E 47 for PNG or OggS for Ogg.
Why it happens
A file was renamed without converting it, such as a JPEG saved as
.png.The file is empty or truncated.
Wrong
text
Right
text
Or convert the image to PNG with an image editor and keep the name.