API request not working in Streamlit sharing

Hi @adigigo, welcome to the Streamlit community! :wave: :partying_face:

The CoWin API is geo-fenced to allow only Indian IP addresses to connect. You are able to run your app without the 403 error on your local machine as you might be based in India.

Here’s a list of previous threads on the same topic:

  1. Unable to host streamlit app using heroku due to error: cannot create /app/.streamlit/config.toml - #15 by asehmi
  2. Streamlit App not working when deployed - #2 by Nikhil0504

Best, :balloon:
Snehan

1 Like