Here is my properties camel.component.salesforce.client-secret=xxx camel.component.salesforce.client-id=xxx camel.component.salesforce.authentication-type=USERNAME_PASSWORD camel.component.salesforce.login-url= https://test.salesforce.com/services/oauth2/token camel.component.salesforce.user-name=xxx
and I run this route from("timer:tick") .setHeader("Sforce-Limit-Info", constant("api-usage")) .to("salesforce:getGlobalObjects") .process(exchange -> { Message in = exchange.getIn(); String apiLimits = in.getHeader("Sforce-Limit-Info", String.class); System.out.print("sales force works ? " + apiLimits); }) .end(); I think that installed all the certifcates I has below(loginURL, instanceURL), but still got the error "org.apache.camel.RuntimeCamelException: org.apache.camel.component.salesforce.api.SalesforceException: Unexpected login error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" There is not proxy between camel application and SF. then I injected those properties in URL as below to run in POSTman https://test.salesforce.com/services/oauth2/token?client_id=XXX&format=json&client_secret=XXX&grant_type=password&username=XXXX&password=XXX it successfully returns me access token, what is wrong with my local env? how can I debug this issue? -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Weiquan Yuan Located in Ottawa, Canada