cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Salesforce to Databricks

RohitKulkarni
Contributor

Hello Team,

I am trying to run the salesforce and try to extract the data.AT that time i am facing the below issue :

SOURCE_SYSTEM_NAME = 'Salesforce'

TABLE_NAME = 'XY'

desc = eval("sf." + TABLE_NAME + ".describe()")

print(desc)

for field in desc['fields']:

   #print(field["name"])

   tablesAndColumns = field["type"], field["name"]

   print(tablesAndColumns)

ConnectionError: HTTPSConnectionPool(host='https', port=443): Max retries exceeded with url: /login.salesforce.com/services/data/v52.0/sobjects/Event/describe (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4ecad2bfa0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

Regards

Rohit

2 REPLIES 2

Hubert-Dudek
Esteemed Contributor III

Hi, please test the connection outside as maybe you can not connect to the internet (routing not adequately set):

%sh
telnet login.salesforce.com 443

Optionally in databricks, you will find Fivetran in partner connect, and you can also use Fivetran to connect to salesforce.

Vidula
Honored Contributor

Hi @Rohit Kulkarni​ 

Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help. 

We'd love to hear from you.

Thanks!

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.