پشتیبانی پایگاه داده‌ فیلم

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,

https://api.themoviedb.org/3/discover/movie?include_adult=false&include_video=false&language=en-US&page=501&primary_release_year=2023&sort_by=popularity.desc

Please correct me if I am doing something wrong.

Thank You!

Regards,

Syed Hassan

4 پاسخ (در صفحه 1 از 1)

Jump to last post

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.

Noted! Thank you so much!

@superboy97 said:

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.

I am getting error while crating new api

@princesimi said:

I am getting error while crating new api

Please, Create your own discussion topic instead of squatting an unrelated one.

فیلم و نمایش تلویزیونی را نمی‌توانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.

Global

s تمرکز بر منوی جستجو
p منوی پروفایل باز شود
esc بستن پنجره باز
? پنجره میانبرهای صفحه‌کلید باز شود

در صفحات مدیا

b بازگشت به عقب (یا در صورت لزوم به منشا)
e برو به صفحه ویرایش

در صفحات فصل تلویزیونی

(فلش سمت راست) برو به فصل بعد
(پیکان سمت چپ) برو به نشست قبلی

در صفحات قسمت تلویزیونی

(فلش سمت راست) برو به قسمت بعد
(پیکان سمت چپ) برو به قسمت قبلی

در تمام صفحات تصویر

a پنجره افزودن تصویر باز شود

در تمام صفحات ویرایش

t انتخابگر ترجمه باز شود
ctrl+ s ثبت از

در صفحات بحث

n ایجاد بحث جدید
w تغییر وضعیت وضعیت تماشا
p تغییر وضعیت عمومی/خصوصی
c تغییر وضعیت بسته/باز
a گشایش صفحه فعالیت
r پاسخ به بحث
l برو به آخرین پاسخ
ctrl+ enter پیام خود را ثبت کنید
(فلش سمت راست) صفحه بعد
(پیکان سمت چپ) صفحه قبلی

تنظیمات

آیا می‌خواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟

ورود