title: ROBOT FRAMEWORK - Create session with AUTH and Headers - Getting TypeError: __init__() takes exactly 3 arguments (2 given)
body: <p>How ti create session with AUTH and Headers using Robot framework? </p>
  
  <p>I tried the below code:</p>
  
  <pre><code>*** Variables ***
  ${user}    ='user1api'
  ${passwd}    ='password!'
  &amp;{headers}  Content-Type=application/json  Authorization=Basic ABCDEF==
  
  *** Keywords ***
  DO Status Get API   
      ${auth}=  Create List  user passwd
      Create Session  DOStatus  https://test.abc.com/api/status/7661/job  headers=${headers}  auth=${auth}
      ${resp}=  Get Request  DOStatus  /basic-auth/user/passwd
  </code></pre>
  
  <p>and ran into this error:</p>
  
  <pre><code>TypeError: __init__() takes exactly 3 arguments (2 given)
  </code></pre>