Error Code Portal
SQLiteSQLiteError code

SQLITE_READONLY_CANTLOCK

readonly cantlock

Alternative forms: 520

Code SQLITE_READONLY_CANTLOCK · An issue reported by SQLite.

The SQLITE_READONLY_CANTLOCK error code is an extended error code for SQLITE_READONLY. The SQLITE_READONLY_CANTLOCK error code indicates that SQLite is unable to obtain a read lock on a WAL mode database because the shared-memory file associated with that database is read-only.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.

This entry links only to official code reference documentation. No separate troubleshooting procedure has been verified.