Getting rate limit #2818
-
Getting rate limit error when testing API. So the limit is 100 per day? Is there way to bypass?
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
if your atproto_client calls PDS API, you can bypass ratelimit by self hosting your own PDS atproto/packages/pds/src/config/env.ts Lines 97 to 99 in 319aa7c but if you are testing other component API, it may be hard to bypass ratelimit. |
Beta Was this translation helpful? Give feedback.
-
I'm getting this too - why is the limit 100/day when in the docs I see a limit of 3000 every 5 minutes? All I'm using is |
Beta Was this translation helpful? Give feedback.
-
After some more searching it looks like this is because they want us to use JWT tokens instead of logging the agent in every time. I've figured out how to save and refresh my token - is there a simple way of getting the Atproto/BskyAgent to use the token instead of the |
Beta Was this translation helpful? Give feedback.
-
Just wanted to throw this in here for when people stumble across the same issue |
Beta Was this translation helpful? Give feedback.
After some more searching it looks like this is because they want us to use JWT tokens instead of logging the agent in every time. I've figured out how to save and refresh my token - is there a simple way of getting the Atproto/BskyAgent to use the token instead of the
agent.login(...)
from the tutorials? I'd like to use theagent.uploadBlob
andagent.post
calls I've already written instead of re-writing those asfetch
s. I've tried a few things but it seems to be ignoring any headers I try and set in the constructor or those I set by configuring a static fetch handler.