You need to sign in to do that
Don't have an account?
Sam Alter
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
acess Salesforce from a web-service
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
P.S - Security token is tied to a user.
https://pypi.python.org/pypi/simple-salesforce
The same works when I host the web-service on my local machine. But when the web-service is on the cloud, this gives me a clear "access denied" error. I'll try to reproduce the error and post it later.
Go to python - User your username and password (WITHOUT the security token this time)