I was using the basic authentication to login to salesforce. It was working perfectly earlier with no issues. Recently, the login started failing and is always the case.
- I tried logging into data loader and it works fine, so it's not an issue with my system.
- I tried logging in using OAuth and this fails too. I get an error message "The returned authentication token is null" even if I explicitly provide the token file.
The error I get when I try to login using the basic login is :
Can anyone please help me out with this ?
Solved! Go to Solution.
Did you create a salesforce connection from metadata in your repository tree? Could you please indicate on which talend build version you got this issue?
I'm using Talend Open Studio for Data Integration Build 188.8.131.5270623_1246
The error I'm getting is actually while creating the connection in my metadata repository itself.
The connection (in my metadata repository) that I created earlier was working fine until last week. I tried to edit the connection and test the connection but it fails over and over.
I figured out the solution. The Salesforce URL was salesforce.com, it had to be changed to login.salesforce.com
Here is how I solved it:
Go to Metadata -> Salesforce -> Create Salesforce -> Advanced