Salesforce Data Loader INVALID_LOGIN Error

Share
Workaround available Data Loader, integrations Updated November 13, 2026Based on 4 user reportsHow we research

Quick answer

INVALID_LOGIN usually means a wrong password, missing or expired security token, or an IP restriction. Reset the token and append it to your password, or use OAuth.

Most likely fix: Reset your security token

How to fix it

Try these in order — the most common fix is first.

  1. 1. Reset your security token

    1. Click your avatar > Settings > Reset My Security Token
    2. Salesforce emails the new token to your user email
    3. Enter password immediately followed by token (passwordTOKEN)
    Did this fix it?
  2. 2. Use OAuth instead

    1. In Data Loader choose OAuth login (Salesforce's recommended method) instead of password plus token
    Did this fix it?
  3. 3. Check IP and user status

    1. Add your IP under Network Access trusted IP ranges
    2. Confirm the user is active and not locked out (Setup > Users)
    3. With SSO, use OAuth or an API-enabled integration user
    Did this fix it?

Symptoms

Data Loader or an integration says INVALID_LOGIN: Invalid username, password, security token, user not active, or user locked out.

Why it happens

  • Wrong username or password
  • Missing or expired security token
  • Trusted IP or profile IP restrictions
  • SSO enabled so password login is not allowed
  • User locked out

This guide also covers

  • salesforce data loader invalid login
  • salesforce security token
  • salesforce invalid_login

Still not working?

If Salesforce keeps failing, you're not alone. See every Salesforce problem users report or the alternatives people switch to.

Done fighting Salesforce? Our small team builds your own Salesforce alternative, made for how you work. On your domain or hosted by us. Price agreed together.

Get a quote
Fixed it? Share this guide

Other Salesforce errors

All 10 Salesforce errors and fixes →