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
rcb.devrcb.dev 

Force.com IDE v3.3 and INVALID_LOGIN error

I’m new to Apex. I did a fresh install of Force.com IDE v3.3 and followed the Quickstart example online to get me going. In the New Project wizard, I selected Force.com > Force.com Project and clicked ‘Next’. Fro my login credentials I entered the username and password that I use to log on to the Developer Edition; by default the “SOAP endpoint” points to the Developer Edition:

 

https://www.salesforce.com/services/Soap/u/11.1

 

Can someone explain why I’m getting this error?

 

ToolkitConnectionException: INVALID_LOGIN: Invalid username, password, security token; or user locked out.

 

Thanks in advance!

JohanLiljegrenJohanLiljegren
Basically, you need to append your security token to the password in the password field, because you're not connecting from a "trusted" address.
This goes for all API based connections, i.e. everything connecting to SFDC except when you do it manually via https://login.salesforce.com.

While in the UI, go to Setup >> My Personal Information >> Reset My Security Token and click the button. The token will be delivered via email.
Append the token in the email to your password in the Force.com Toolkit and you should be good to go.

Alternatively, you can add your IP address to the list of trusted IP addresses under Setup >> Security Controls >> Network Access. To disable this behaviour alltogether, you could put in 0.0.0.0 to 255.255.255.255 as valid IP address range, but I wouldn't recommend it.

Regards
//Johan
rcb.devrcb.dev

I did append the token after my password but I still get the message shown below. Any suggestions?

Warning

           Unable to finalize Force.com project creation.  Double-check your connection
           settings.  You may adjust the settings and re-sync on the Force.com project
           properties page.

           Reason:
           ToolkitConnectionException: INVALID_LOGIN: Invalid username, password,
           security token; or user locked out.

 

MarioKorfMarioKorf
You'll get temporarily locked out if you try to login too many times and fail.

Is this issue still persisting?

You may want to reset your security token one more time.
devadasudevadasu
even i reset the security token i am getting the same error

rcb.devrcb.dev
I've reset my security token yet another time but the problem still persists.
devadasudevadasu
Just give password as password and security token as security token.if u give  security token wrong or password wrong ur security token was expired and u give another time rest security token that was in developer edition .
AbecchiAbecchi
Did you put your security token to here?