Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Salesforce Production Site API login fine, but Sandbox API login fails

We've got a working salesforce api implementation that gets and sets properly with a production salesforce account. We've recently come across a user that rather than using their production Salesforce to connect to our implementation, has set up a sandbox for a limited trial.

I personally have a sandbox that I can properly connect to. It is not, however, connected to a production salesforce instance.

I'm wondering if the fact that they have a production salesforce instance that they created the sandbox from will affect the API login to the sandbox.

I'm currently receiving a "your salesforce login is incorrect" even though I am absolutely certain the credentials and security token are correct.

If you need any other information, I'll happily include it.

Thoughts?

like image 273
tylerdavis Avatar asked Feb 03 '11 18:02

tylerdavis


1 Answers

Login requests for sandbox accounts should goto test.salesforce.com not login.salesforce.com. You should also login through the webapp and look in login history (in setup) that'll sometimes have more information.

like image 189
superfell Avatar answered Nov 02 '22 23:11

superfell