Salesforce to Databricks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2022 06:25 AM
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
- Labels:
-
Certification
-
Fivetran
-
Max Retries
-
Print
-
Salesforce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2022 11:52 AM
Hi, please test the connection outside as maybe you can not connect to the internet (routing not adequately set):
%sh
telnet login.salesforce.com 443Optionally in databricks, you will find Fivetran in partner connect, and you can also use Fivetran to connect to salesforce.
My blog: https://databrickster.medium.com/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2022 06:07 AM
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!