Open QingsongYao opened 4 years ago
I'm sure you've probably solved this by now but I had the same issue and it's caused by not having a domain
set when initialising the client.
client = Salesforce(
access_token = '<YOUR_ACCESS_TOKEN>',
domain = '<YOUR_DOMAIN>'
)
I'm hoping to find some time to open a PR that would make the README clearer when it comes to the parameters that can be passed to the Salesforce
method.
Hello!
I'm sorry for the late late late reply, I've been on parental leave.
I'd be happy to accept a PR from @mattschofield! :) If not, I will update the code and fix the documentation, as this is a bit misleading!
Destination URL not reset. The URL returned from login must be set
Might related to https://developer.salesforce.com/forums/?id=906F00000008rtEIAQ
I am using auth_token as the way to auth
query: client.sobjects.query("SELECT Id, FirstName, LastName FROM Contact WHERE FirstName='Felix'")