Hello!I'm trying to access Salesforce from a web-service, hosted externally, say on the Amazon cloud or another web server. The web-service needs to login to Salesforce, query records, and update records periodically. The trigger mechanism is irrelevant. I have a Python script within the web-service, that uses simple-salesforce to login to Salesforce, query and update records. Now, the script works fine from my desktop, but when I upload to the cloud (say, Amazon web-servers), I get a "permission denied". Is my security token limited to my desktop? I am able to login to salesforce from external IP addresses (home), but not from this web-service hosted on the cloud.Any ideas?Thanks!Sam
Okay, can you try this - Go to your user's profile (same user which is logging from python). Whitelist the IP range from 0.0.0.0 to 255.255.255.255.Go to python - User your username and password (WITHOUT the security token this time)