title: snowflake Connection error in python " snowflake.connector.errors.ProgrammingError: 251005: User is empty"
body: <p>I'm a newbie to snowflake and trying to connect to the db using python but when executing the code i get this error "snowflake.connector.errors.ProgrammingError: 251005: User is empty"</p>
  
  <pre><code>import snowflake.connector
  
  ctx = snowflake.connector.connect(
  
         username = 'xxx',
  
         password = 'xxxx',
  
         account = 'xxxx'
  
         )
  
  cs = ctx.cursor()
  
  try:
  
    cs.execute(''' some query''')
  
    one_row = cs.fetchone()
  
    print(one_row[0])
  
  finally:
  
    cs.close()
  
  ctx.close()
  </code></pre>