Hey, I'm Syed Hassan,
I am working on one of your APIs (discover-movie) and noticed one issue the page count isn't working correctly. I am retrieving movies released in 2023, using release primary_release_year, and there are almost 2041 pages, as you can see in the screenshot using this link(https://mega.nz/file/1toFVbyD#JAVUwzkgzRx_9vC8ys7oPGe5oCoT1lnMA7OOta_RPOU). but when the page value is increased by more than 500 it gives this error(https://mega.nz/file/I9ZCCQQC#SfWsdE9CB1CwAXTHRXMMGwqJAoKRZtfhng6qQGxrxLM).
{ "success": false, "status_code": 22, "status_message": "Invalid page: Pages start at 1 and max at 500. They are expected to be an integer." }
This is the URL I am using,
Please correct me if I am doing something wrong.
Thank You!
Regards,
Syed Hassan
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 7, 2024 at 5:28 PM
There are no bug here.
Even if there are 2041 pages of movies matching your criteria, the API only permit you to access the first 500 pages.
Reply by syedh9837
on June 7, 2024 at 5:58 PM
Noted! Thank you so much!
Reply by princesimi
on June 8, 2024 at 3:23 AM
I am getting error while crating new api
Reply by superboy97
on June 8, 2024 at 4:12 AM
Please, Create your own discussion topic instead of squatting an unrelated one.