You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to login into my sandbox using the command below: sf = Salesforce(username='xx@xx.com.sandbox_name', password='xx', security_token='xx', domain='test')
the "sandbox_name" is the name of my sandbox. I already reset the token in my sandbox account and the log in information should all be correct.
Here is the error I got:
SalesforceAuthenticationFailed: INVALID_LOGIN: Invalid username, password, security token; or user locked out.
And also, I cannot see this login history in my account setting.
The text was updated successfully, but these errors were encountered:
This is how I use it sf_client = Salesforce(instance_url='https://<sub-domain>.sandbox.my.salesforce.com', username='<username>' , password='<password>', security_token='<security token>', domain='<sub-domain>.sandbox.my')
I'm using the sandbox.my domain. You need to add the appropritate sub-domain.
I tried to login into my sandbox using the command below:
sf = Salesforce(username='xx@xx.com.sandbox_name', password='xx', security_token='xx', domain='test')
the "sandbox_name" is the name of my sandbox. I already reset the token in my sandbox account and the log in information should all be correct.
Here is the error I got:
And also, I cannot see this login history in my account setting.
The text was updated successfully, but these errors were encountered: