WebDAV sync rejected valid files like 1784074260.pdf when the PDF magic bytes were not at offset 0 (whitespace/BOM) or when a mobile scanner stored JPEG bytes under a .pdf name. Scan the first 1KB for %PDF-, allow image fallback for .pdf, and include validation detail in API errors. Co-authored-by: Cursor <[email protected]>