| Previous | Next |
| SQLITE_E_IOERR_SHORT_READ | SQLITE_E_CONSTRAINT_COMMITHOOK |
SQLITE_E_CANTOPEN_ISDIR
SQLITE_E_CANTOPEN_ISDIR is the extended SQLite cannot-open result returned when the requested database path is a directory.
What to check for SQLITE_E_CANTOPEN_ISDIR
- Log the final expanded path and check configuration variables, command-line arguments, and path joins.
- Check whether a directory was created where the application expected a database file, for example during deployment or volume mounting.
- Correct the configuration and create or restore the database file through the normal application process.
PRAGMA database_list;
SQLite: Result and Error Codes
Diagnostic discriminator: Resolve the database pathname and confirm that it names a directory. This extended cannot-open code is specifically about path type, not generic permissions or a missing temporary directory.
Looking for a different code? Search another status or error code.