title: sqlite3.OperationalError: unrecognized token:
body: <p>Hello I new in the sqlite world and here is my problem. Trying to fix a twitter bot an error occured. Here is the code to modify and the error. Tell me if you need the entire code or other informations</p>
  
  <pre><code>def CreateTables(user):
     connexion = sqlite3.connect('data.db')
     c = connexion.cursor()
     c.execute('''CREATE TABLE IF NOT EXISTS {tab}
     (id INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE, compte text, date DATE);'''.format(tab=user.screen_name))
     c.close()
     connexion.commit()
  </code></pre>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Users\User\Documents\Terminale\Python\Twitter bot\BotTwitter-master\main.py", line 53, in &lt;module&gt;
      GestionFollow.CreateTables(user)
    File "C:\Users\User\Documents\Terminale\Python\Twitter bot\BotTwitter-master\GestionFollow.py", line 12, in CreateTables
      (id INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE, compte text, date DATE);'''.format(tab=user.screen_name))
  sqlite3.OperationalError: unrecognized token: "361Yra"
  
  </code></pre>