Salesforce to Databricks

RohitKulkarni
Contributor II

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