function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Steve BerleySteve Berley 

EE org not allowing API access

I have an Enterprise Edition org that's now allowing API access.  When I try to create an API connection I keep getting the error message:

"Invalid username, password, security token; or user locked out."

- I successfully logged in using the username/password moments ago.
- The security token was created today
- The login uses the "factory" system administrator profile
- The API works with dozens of other enterprise edition orgs, including many verified working properly today.

I'm at a loss as to why this org won't permit API access.  Do you all have any thoughts as to why it's failing?

Thanks,
 
AnkaiahAnkaiah (Salesforce Developers) 
Hi Steve,

Try resting you security token and also make sure your pointing to the correct environment (test.salesforce.com if you're login to a sandbox or login.salesforce.com if you're pointing to production).

If the issue is still persist then refer the below link have trouble shooting steps for API logins.
https://support.influitive.com/article/613-salesforce-salesforce-errors-and-troubleshooting#login

If this information helps, Please mark it as best answer.

Thanks!!
Steve BerleySteve Berley
Thank you for your thoughts, but the password is good - I can login to salesforce with it, and the token was reset today.