Closed AmritaKv closed 8 years ago
Hi @AmritaKv! Thanks for trying the connector. I'm sorry it doesn't work for you. The quickest solution for now would be to change the hardcoded url to your sandbox url and build the project again (sbt assembly
should do the trick).
In the meanwhile, I will see if I can add a parameter for the base url!
Update! @AmritaKv I've released a new version that will let you configure the base url of the Salesforce instance you want to talk to. You can download it here.
Usage: java -jar sf2hadoop.jar -a login.of.sf.sandbox.com
(and obviously all the other options you want/need to set)
Let me know if that solves your problem!
oh , you are the best !! thank you for the quick reply...it did solved my problem but got another error same as the other issue that you closed earlier (DatasetNotFoundException - salesforce2hadoop #4)...
Hi I am trying to use the salesforce2hadoop connector in the salesforce sandbox as opposed to production. Is there any way to specify that it is a sandbox?
The wsdl I am using has SOAP location as sandbox like
But When in the source code file SalesforceService.scala (apply method line 52) I see the end point being hard coded as https://login.salesforce.com/services/Soap/u/$apiVersion , so it is always going to hit the production env where I don't have access and Hence when I try to use the init command I get error as,
Exception in thread "main" [LoginFault [ApiFault exceptionCode='INVALID_LOGIN' exceptionMessage='Invalid username, password, security token; or user locked out.' ] ]