cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
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!

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!