-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rate limits? #2
Comments
Thanks for using the package @iamvishnurajan. Could you provide any context for how you're doing this? For example, are you looping through calls to |
I have hit a similar issue. My case is adding people to a list. I have a loop like this, which adds a single user to a list.
I had run
Based on this rate limit information on this page I was surprised that I was hitting limits, but I'm very new this api and haven't read all the docs: https://docs.bsky.app/blog/rate-limits-pds-v3. Interestingly after not touching it since yesterday evening, I am still getting this 429 error this morning. Thanks again for the package and for any insights on the rate limit issue. |
I was able to work out my issue thanks to your comment about "re-authenticating every time". In my loop I guess In case it is is useful for others, this ended up working like a charm.
Apologies for jumping in on this issue. I also think it would be great to have a verbose option for looking at rate limit returns. Thanks again for your work on this package! |
Hi, thanks for the tip and no problem at all to jump in here. I also was doing a similar for loop with a sys.sleep(), but when I get some time to work on my code more next week, I'll try a similar authentication method. In my case, I was able to rerun after 5-10 minutes, so perhaps mine may be a different issue. I found I could delete about 30 records before it rate limited me. |
Hi, just to close this, adding a similar auth statement in my code worked for me also. I was able to delete more than 30 records without a problem now using the following.
|
The above solution worked for me. However, I had closed my R session and had to run the line: So to be clear, the best solution to avoid this would be to also save your auth object and load this again and always add this with each request like mentioned above? |
As an aside, I think there was something specific about bsky yesterday afternoon/evening (Jan 21 Eastern time) and this morning (Jan 22) about rate limits. Scripts I have that normally run fine, errored out due to rate limit issues. Mine seem to be running fine as of a short time ago, so I would try again and see if your issue is resolved. |
Hi,
Thank you for building this as I like being able to work in R. I was wondering if there is a way to get the current rate limits? I seem to be running into some kind of limit when trying to delete records on bsky via bskyr but I am unable to figure out which one.
Thanks much
The text was updated successfully, but these errors were encountered: