According to these docs there are no request rate limits.
I don't encounter this in production, but because my local environment is faster I get the following on large updates to my database
status: 429,
statusText: 'Too Many Requests',
Is there a hidden request rate limit I can be sure to throttle by to avoid this?
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by sctsnipe
on September 24, 2022 at 10:41 PM
I mean, if the issue is that the CDN they are using is aggressively banning users from accessing images on their CDN, then it's something the TMDB folks can fix but adjusting how strict their DDoS protection is. I do not see others with this problem who use my application (or at least no major reports of it yet), so I wonder if the "AI" behind their CDN (looks like they use Bunny CDN) is banning me more aggressively because I have an Asian IP address (Japan)? I have already implemented systems to rate limit API requests within the thresholds mentioned above. Still, I am just accessing CDN images directly through the browser, and it was enough for me to get blocked.
Either way, still fully banned from accessing image.tmdb.org. Travis, there has gotta be something you can do here. I can't develop my application anymore without using a VPN and that's just not going to work long term.
Reply by backA05
on October 7, 2022 at 12:18 PM
Hey guys, as I noticed this is fixed finally. I am making 3 calls simultaneously and showing around 60 images on a single page without a problem. Can someone else confirm this? Cheers @sctsnipe @SynergeticWebSolutions
Reply by sctsnipe
on October 7, 2022 at 8:56 PM
I noticed that I have started getting Cloudfront as the CDN for some of the images now instead of Bunny CDN. But as of my last test a few days ago, Bunny CDN responses were still in there. Maybe an A/B test? I have built much more aggressive image caching in the meantime which is helping as well. Some confirmation from the devs here would be very helpful.
Reply by mhmm
on July 2, 2023 at 9:56 PM
this has confused me a bit, if i have set of 100 ids i want to search (essentially needing to make 100 requests) i know your 50 rate limit means i can only make up to 50 calls per second, but when you say 20 connections per IP i dont understand this, does it mean that if have an array with 100 ids, for every request that i make, that counts as an open connection until the response is received? therefore meaning i can only have 20 of those open connections at any given time per IP?
Reply by Klemensas
on July 6, 2023 at 12:54 PM
@travisbell any chance to configure the CDN to show some headers regarding the rate limit (remaining requests or timeout time once limit reached)? Right now it seems like a blackbox, where users need to do guesswork in order to avoid the limit
Reply by Travis Bell
on July 6, 2023 at 1:05 PM
Unfortunately, no, it is not possible.