SQLITE_OK_SYMLINK
SQLiteSUCCESSCommonFile Accessofficial confidence
File is a symlink (success with note)
Production Risk
None — success code.
What this means
SQLITE_OK_SYMLINK (512) is returned by the xGetSystemCall VFS method to indicate that the database path is a symbolic link but the open was permitted (SQLITE_OPEN_NOFOLLOW was not set).
Why it happens
- 1Not an error — returned internally to note that the file is a symlink.
How to reproduce
Internal VFS open logic; not normally visible to application code.
trigger — this will error
trigger — this will error
# SQLITE_OK_SYMLINK is internal — not surfaced to Python/driver level # It indicates the VFS observed a symlink but allowed it
expected output
Open succeeds; no exception raised.
Fix
Version notes
Sources
Official documentation ↗
sqlite3.h — SQLITE_OK_SYMLINK = 512
Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev