com.sforce.ws.ConnectionException: Failed to send request to https://gam.my.salesforce.com/services/Soap/u/34.0/00D0Y000001IXCh

Five Stars

com.sforce.ws.ConnectionException: Failed to send request to https://gam.my.salesforce.com/services/Soap/u/34.0/00D0Y000001IXCh

Hello People,

I am trying to establish connection with salesforce using valid credentials.

I have this error in PROD.

But same is not the case with REC.

I never have this error in REC and most often in PROD.

Please suggest a possible reason behind this error or a way to avoid this error.

Thanks


Accepted Solutions
Fifteen Stars TRF
Fifteen Stars

Re: com.sforce.ws.ConnectionException: Failed to send request to https://gam.my.salesforce.com/services/Soap/u/34.0/00D0Y000001IXCh

You just have to change the version in the URL, that's all.
Based on your previous message, if the job works sometimes and sometimes not or the error occurs after a moment, you probably have a problem with your internet connection.

TRF

All Replies
Moderator

Re: com.sforce.ws.ConnectionException: Failed to send request to https://gam.my.salesforce.com/services/Soap/u/34.0/00D0Y000001IXCh

Hello,

We need more information to address your issue.

Are you try to connect to a production or a sandbox environment? Does this error arrives immediately or do you have to wait for some seconds before?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
Fifteen Stars TRF
Fifteen Stars

Re: com.sforce.ws.ConnectionException: Failed to send request to https://gam.my.salesforce.com/services/Soap/u/34.0/00D0Y000001IXCh

Try with Salesforce API version 39.0 instead of 34.0 (see the URL). Also verify the URL is https;//login.salesforce.com and not https;//test.salesforce.com (as you want to connect to production).

TRF
Five Stars

Re: com.sforce.ws.ConnectionException: Failed to send request to https://gam.my.salesforce.com/services/Soap/u/34.0/00D0Y000001IXCh

@xdshi 
Hey
1) We are trying to connect to Production.
2) This error does not occur immediately, It occurs very randomly.Sometimes the job runs is without this error and sometime I have this error.




Five Stars

Re: com.sforce.ws.ConnectionException: Failed to send request to https://gam.my.salesforce.com/services/Soap/u/34.0/00D0Y000001IXCh

How do we use this API v 39.0 ?
Apart from providing the URL in context variable , is there anything else that we need to do?
Could you please guide on how do we implement the change you suggested ?
Fifteen Stars TRF
Fifteen Stars

Re: com.sforce.ws.ConnectionException: Failed to send request to https://gam.my.salesforce.com/services/Soap/u/34.0/00D0Y000001IXCh

You just have to change the version in the URL, that's all.
Based on your previous message, if the job works sometimes and sometimes not or the error occurs after a moment, you probably have a problem with your internet connection.

TRF

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Downloads and Trials

Test drive Talend's enterprise products.

Downloads