Sometimes my API throws a CORS error,
I don't know why sometimes it works and sometimes doesn't.
As per the second, it hit 230 requests, so is there any limitation on it?
If not, then what should I do?
If you are unable to resolve with this information, I suggest that you post a new topic with Issue CORS in the title, or something like that.
This makes it easier to get help from Travis Bell, the administrator, who has the necessary knowledge and power to solve the problem.
As per the second, it hit 230 requests, so is there any limitation on it?
If not, then what should I do?
As for limitations, this is what I have.
You need to check if you have reached these limits.
Did you receive any error messages?
If so, please post the full text of the message here.
And Travis Bell, the Administrator, has already given us this explanation.
For API Requests:
One of our CDN providers enforces some base level rate limiting to help prevent DDOS attacks.
I believe it's a maximum of:
50 requests per second and
20 connections per IP.
The original rate limiting (40 requests every 10 seconds) has indeed been been disabled since December 2019.
There are some higher overall limits that still exists to help mitigate different attacks and the like.
I believe they sit around the 50 request per second range.
ticao2 🇧🇷 pt-BR 的回复
于 2025 年 06 月 05 日 8:35上午
As for CORs, this is what I have.
CORS Issues
See if this research can help.
https://www.themoviedb.org/talk/search?advanced_search=&query=CORS&with_category=&with_status%5B%5D=closed&with_status%5B%5D=open
In some of the topics the problem was solved.
https://www.themoviedb.org/talk/5f55e3dd713ed40037f090d4
https://www.themoviedb.org/talk/5833110992514162cf03b7bd
https://www.themoviedb.org/talk/5c5dff05925141338cbce2db
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSNotSupportingCredentials
And this
https://www.themoviedb.org/talk/5f621eae93388b003864513c
https://www.themoviedb.org/talk/5eb07271a13533001b72740a
If you are unable to resolve with this information, I suggest that you post a new topic with Issue CORS in the title, or something like that.
This makes it easier to get help from Travis Bell, the administrator, who has the necessary knowledge and power to solve the problem.
As for limitations, this is what I have.
You need to check if you have reached these limits.
Did you receive any error messages?
If so, please post the full text of the message here.
API Request Limits
First we have this information in the instructions for using the TMDb API.
https://developer.themoviedb.org/docs/rate-limiting
And Travis Bell, the Administrator, has already given us this explanation.
For API Requests:
See here: https://www.themoviedb.org/talk/62c7c1b258361b005fd2e747?page=1#62c83b78befd91005007a0c7
For Images:
See here:
https://www.themoviedb.org/talk/62edd3ca46aed400917de201#62ee88e7176a940086449cdf
https://www.themoviedb.org/talk/62c7c1b258361b005fd2e747?page=1#6301a107097c49007f60374a
https://www.themoviedb.org/talk/62c7c1b258361b005fd2e747
And...
Is there really no API Rate Limiting?
See here:
https://www.themoviedb.org/talk/6442ced4d35dea02fcfb0fab#6442d4a0d35dea0455fb1a07