Resolved error 21 SQLITE_MISUSE