Salesforce Endpoint Error When Using API Version 42.0

Six Stars

Salesforce Endpoint Error When Using API Version 42.0

Hello,

 

I'm getting an endpoint error when trying to connect to Salesforce using the endpoint (API version 42.0):

https://test.salesforce.com/services/Soap/u/42.0

 

The error I'm encountering is:

java.lang.RuntimeException: IOException: com.sforce.ws.ConnectionException: unable to find end tag at:  START_TAG seen ...</accessibilityMode><chatterExternal>... @1:735
    at...

 

However, the connections works when downgrading the API version to 35.0 as such:

https://www.salesforce.com/services/Soap/u/35.0

 

What could be causing this?

 

Below are the connection component's configurations:

Capture-1.PNG

Capture-2.PNG

 

I'm using Talend OS for DI v6.4.1


Accepted Solutions
Forteen Stars TRF
Forteen Stars

Re: Salesforce Endpoint Error When Using API Version 42.0

What if you change for 39.0?


TRF

All Replies
Forteen Stars TRF
Forteen Stars

Re: Salesforce Endpoint Error When Using API Version 42.0

Not sure versions after 39.0 are supported by tSalesforce components.


TRF
Six Stars

Re: Salesforce Endpoint Error When Using API Version 42.0

Hello TRF,

 

Thank you for your reply.

 

This behaviour is occurring locally, that is on my workstation.

 

Normally, after a successful build, we deploy this job on a Unix server to be executed automatically. Yesterday, we delivered the job (Production) using the endpoint:

https://login.salesforce.com/services/Soap/u/42.0 and it worked.

 

So the question remains as to why it isn't working for Sandboxes.

Forteen Stars TRF
Forteen Stars

Re: Salesforce Endpoint Error When Using API Version 42.0

What if you change for 39.0?


TRF
Six Stars

Re: Salesforce Endpoint Error When Using API Version 42.0

It works when changing the API version to 39.0 on my workstation. However, we still have a job running on API level 42.0, which is strange.

Forteen Stars TRF
Forteen Stars

Re: Salesforce Endpoint Error When Using API Version 42.0

Once again, not completly sure of this point but I think it may depend of which kind of object you want to work with.

Sorry, no time to explore this subject but it could be the beginning of an explanation (or not...)


TRF