HTTPError: HTTP Error 403: Forbidden

I couldn’t fetch data, getting 403 error while deploying in Streamlit.
But works fine locally(shows 200 response in local)

Here’s my code snippet

url = ""
r = requests.get(url)
l1 = pd.read_csv(url)
l1 = l1.loc[l1['SERIES'].isin(['EQ','BE'])]
l1 = l1[['SYMBOL','CLOSE']]

App link,

Thank you!

The 403 error would indicate that the API you’re hitting is refusing to authorize the request – this would happen if the API only accepts requests from allow-listed IP addresses