Unable to host streamlit app using heroku due to error: cannot create /app/.streamlit/config.toml

Hi @Siddhesh_Shankar,

Based on the error message, it does not look like a Streamlit-specific issue. My best guess is that you need to figure out how to parse json responses from the API youโ€™re querying and handle exceptions.

It might be the case that the cowin API is either rate-limiting or banning your heroku IP and returning a malformed response that isnโ€™t being handled in lines 110-111

Happy Streamlit-ing! :balloon:
Snehan

1 Like