nathairtras / salesforce-python-toolkit

Automatically exported from code.google.com/p/salesforce-python-toolkit
GNU Lesser General Public License v3.0
0 stars 0 forks source link

How to login to Sandboxed Salesforce #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use username for sandboxed salesforce account (email with ".[random string]" 
on the end

What is the expected output? What do you see instead?
 It should login in fine. it raises

suds.WebFault: Server raised fault: 'INVALID_LOGIN: Invalid username, password, 
security token; or user locked out.'

What version of the product are you using? On what operating system?
v0.1.5 on OS X 1.6

Please provide any additional information below.

I'd like to log in to a sandboxed salesforce database so that I can test on non 
production data. Could the error be because sandboxes run on a different 
sub-domain (eg https://cs3.salesforce.com/)?

Original issue reported on code.google.com by matthew....@gmail.com on 16 Aug 2011 at 6:21

GoogleCodeExporter commented 8 years ago
This will work fine if you use a correct security token.  You may need to reset 
the token in the sandbox UI in order to get it.

Original comment by dlanst...@gmail.com on 16 Aug 2011 at 6:40

GoogleCodeExporter commented 8 years ago
You'll need to use another wsdl xml file (the one that is generated from the 
sandbox) - note the change in login URL at the end of those 2 wsdls.

Original comment by KRISTI...@koozoo.com on 1 Feb 2013 at 7:12