What does HRESULT 0x87AF020A (SQLITE_E_IOERR_SHORT_READ) mean?

 
Previous Next
SQLITE_E_READONLY_CANTLOCK SQLITE_E_CANTOPEN_ISDIR

SQLITE_E_IOERR_SHORT_READ

SQLITE_E_IOERR_SHORT_READ corresponds to SQLITE_IOERR_SHORT_READ. SQLite could not obtain all requested bytes from the VFS; a truncated file is one documented cause.

What to check

  • Compare the database and companion-file sizes with a known-good copy or backup.
  • Check interrupted copy, restore, sync, or deployment operations that may have replaced a live file incompletely.
  • Do not overwrite the only copy while investigating; preserve the files and the exact error context.
PRAGMA quick_check;

SQLite: Result and Error Codes

SQLite: Extended Result Codes

SQLite: VFS interface

SQLite: How Database Files Can Become Corrupt


Looking for a different code? Search another status or error code.