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,
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 superboy97
on June 21, 2024 at 12:46 PM
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.