Http 429 response: How to use Throttler and StopException (not suuported?)

from streamlit.script_runner import StopException, Throttler is it supported in the newest streamlit version, if not what are the alternatives. I would like to use it as my web app involves http resquests to google and I would like to rate limit in my Streamlit app to ensure that only a limited number of requests are sent at a time. Because I get 429 http responses when hosting and lots of people are using my web app and locally I never face this error.? How would I avoid 429 in streamlit deploying when doing http requests

My app:

Can you clarify where you are getting 429 responses from? A code snippet will help us to reproduce the issue

I’ll mark this topic closed since it was reposted and answered in another thread. It is best to avoid creating duplicate threads since it can either lead to confusion or duplicate that efforts of others who volunteer time to answer questions.

1 Like

This topic was automatically closed 1 minute after the last reply. New replies are no longer allowed.