SQLite - No such column when column exists
The problem was that I had an space at the end of the name of the columns, solved the problem by deleting such spaces.
Before:
CREATE TABLE IF NOT EXISTS &quot;trackedinfo&quot; (&quot;id&quot; INTEGER PRIMARY KEY, &quot;date_time_start&quot; TEXT, &quot;date_time_end&quot; TEXT, &quot;tracked_name&quot; TEXT, &quot;tracked_origin&quot; TEXT, &quot;tracked_maker&quot; TEXT, &quot;tracked_version&quot; TEXT, &quot;tracked_type&quot; TEXT, &quot;sendok &quot; TEXT, &quot;tracked_id &quot; TEXT);

After:
CREATE TABLE IF NOT EXISTS &quot;trackedinfo&quot; (&quot;id&quot; INTEGER PRIMARY KEY, &quot;date_time_start&quot; TEXT, &quot;date_time_end&quot; TEXT, &quot;tracked_name&quot; TEXT, &quot;tracked_origin&quot; TEXT, &quot;tracked_maker&quot; TEXT, &quot;tracked_version&quot; TEXT, &quot;tracked_type&quot; TEXT, &quot;sendok&quot; TEXT, &quot;tracked_id&quot; TEXT);

In the above examples white spaces whithin &quot;sendok&quot; and &quot;tracked_id&quot; columns has been removed.