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.
Ĉu volas taksi aŭ aldoni ĉi tiun elementon al listo?
Ĉu ne estas membro?
Respondo de superboy97
je Junio 7 2024 je 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.
Respondo de syedh9837
je Junio 7 2024 je 5:58 PM
Noted! Thank you so much!
Respondo de princesimi
je Junio 8 2024 je 3:23 AM
I am getting error while crating new api
Respondo de superboy97
je Junio 8 2024 je 4:12 AM
Please, Create your own discussion topic instead of squatting an unrelated one.