title: Getting {"error":"invalid_grant","error_description":"authentication failure"} in Salesforce?
body: <p>I am trying to get the Session ID for my salesforce partialbox. </p>
  
  <p>My Code:</p>
  
  <pre><code>curl https://test.salesforce.com/services/oauth2/token -d "grant_type=password" -d "client_id=definitely the correct client id" -d "client_secret=definitely the correct client secret" -d "username=mymail@mail.com.partialbox" -d "password=passandsecuritytoken"
  </code></pre>
  
  <p>What else I did:</p>
  
  <ul>
  <li>Grant full access in my connected app settings</li>
  <li>Set Ip restrictions to loose ip restrictions</li>
  <li>"All users can authorize themselfes"</li>
  <li>Double checked pass, client id, client secret, username</li>
  </ul>
  
  <p>I am still getting the error <code>{"error":"invalid_grant","error_description":"authentication failure"}</code>.</p>
  
  <p>I searched through the SF forums and StackOverflow questions, but I couldn't find any solution for this. Does anyone know, what else could be the problem here? </p>