You need to sign in to do that
Don't have an account?
woody3549
Salesforce Python toolkit
Hello,
I am currently try to use the Salesforce Python toolkit (http://code.google.com/p/salesforce-python-toolkit/).
However, most of the time, I get an annoying
"Connecting to Salesforce...
URL Connection ERROR : <urlopen error [Errno 54] Connection reset by peer>".
Here is my code extract:
print "Connecting to Salesforce..."
from sforce.enterprise import SforceEnterpriseClient
h = SforceEnterpriseClient('enterprise.wsdl.xml')
h.login('user', 'pass', 'token')
print "Connection to Salesforce OK"
Can anyone please let me know what I might be doing wrong ?
Thanks,
Boris
Presumably you've replaced your credentials with the correct ones.
Did you specify your security token? Enable Remote Access application in SalesForce? The basic tutorials worked for me althought I would have liked better documented sample files (not by much). Just give some more examples involving custom objects and some links to the object reference.
Hello,
I did provide my security token.
However, I did not enable remote access since I am using the toolkit from the command line like so:
python SF_script.py
And I don't know what to provide as a recall URL. Would you know about this ?
Can you please provide the link to the sample files you used ?
Thanks