Hi @AKB_10
This is a common issue with Databricks Community Edition (free tier). Here's what's happening and how to fix it:
Root Cause
Databricks Community Edition has network restrictions that block outbound API calls to external services like Spotify,
social media APIs, etc. This is a security limitation of the free tier.
Thatโs why you get a DNS resolution error: the environment cannot resolve or connect to accounts.spotify.com.
This is a security and cost-control limitation. Since the free Community Edition runs on a shared infrastructure, Databricks blocks:
- Internet-bound traffic
- Some file system access
- Custom library installations from the internet
Solutions:
1. Upgrade to Databricks Premium or use a cloud-connected workspace
If you want to access external APIs:
- Use Databricks on AWS, Azure, or GCP with your own cloud subscription.
- Set up internet access through NAT gateway if on VPC.
2. Develop locally (e.g., in Jupyter or VS Code)
Run your ETL code on your local machine, where you have full internet access. Then:
- Upload results to Databricks if needed for further processing.
LR