Hi, We tried to fetch discover API for movie. However after fetching more than 500 page getting the following error.
API: https://api.themoviedb.org/3/discover/movie?page=502
Response:
{
"success": false,
"status_code": 22,
"status_message": "Invalid page: Pages start at 1 and max at 500. They are expected to be an integer."
}
Please help.
Thanks,
Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.
Хотите поставить оценку или добавить в список?
Нет аккаунта?
Ответ от superboy97
, 21 июня 2024 в 12:46
This is working correctly.
Even if the results returned indicate that there are more than 500 pages of movies matching your request, you can only access the first 500 pages.