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

I'm using the example curl example and I get the following error

{"success":false,"status_code":6,"status_message":"Invalid id: The pre-requisite id is invalid or not found."}

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

Jump to last post

I'll get the fix for this pushed out in a bit here...

Hi @Blatancy,

Fix for this just went out. Give it a bit of time to expire from cache and you'll start seeing the response again.

Cheers.

Hi Travis, is happening again!

I'm not seeing any issues with it:

Request

curl -v "http://api.themoviedb.org/3/tv/latest?api_key=###"

*   Trying 52.85.247.30:80...
* Connected to api.themoviedb.org (52.85.247.30) port 80
> GET /3/tv/latest?api_key=### HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: application/json;charset=utf-8
< Content-Length: 1350
< Connection: keep-alive
< Date: Tue, 06 Feb 2024 21:29:41 GMT
< Server: openresty
< Cache-Control: public, max-age=0
< x-memc: MISS
< x-memc-key: 409cf93616f07a40b32b7847985b6452
< x-memc-age: 0
< x-memc-expires: 0
< ETag: W/"21a1e47300069dedf7361d21b92e363d"
< Vary: Accept-Encoding
< X-Cache: Miss from cloudfront
< Via: 1.1 9c0f6c031cf4ffc52f89552ee0df160c.cloudfront.net (CloudFront)
< X-Amz-Cf-Pop: ORD51-C4
< Alt-Svc: h3=":443"; ma=86400
< X-Amz-Cf-Id: SfqLz8gqRJ0plGBWQQEg2FknAaSM3-CYyJ0S_yRjN1LKIXqEtiR4qQ==
< Vary: Origin
<
* Connection #0 to host api.themoviedb.org left intact

Response

{
    "adult": false,
    "backdrop_path": "/dH4e56FsQaC9yvN2JP1pDKQe4GQ.jpg",
    "created_by": [],
    "episode_run_time": [],
    "first_air_date": "2018-09-03",
    "genres": [],
    "homepage": "",
    "id": 245731,
    "in_production": false,
    "languages": [
        "nl"
    ],
    "last_air_date": "2018-11-05",
    "last_episode_to_air": {
        "id": 5129880,
        "name": "Episode 10",
        "overview": "",
        "vote_average": 0,
        "vote_count": 0,
        "air_date": "2018-11-05",
        "episode_number": 10,
        "episode_type": "standard",
        "production_code": "",
        "runtime": 11,
        "season_number": 1,
        "show_id": 245731,
        "still_path": "/cEEzqRE8wZuMTirSg2R4ztm5zAq.jpg"
    },
    "name": "De Tafel van K3",
    "next_episode_to_air": null,
    "networks": [],
    "number_of_episodes": 10,
    "number_of_seasons": 1,
    "origin_country": [
        "BE"
    ],
    "original_language": "nl",
    "original_name": "De Tafel van K3",
    "overview": "",
    "popularity": 0,
    "poster_path": "/ucyMhzhgKhnTnc2bYuV25QUm29L.jpg",
    "production_companies": [
        {
            "id": 25894,
            "logo_path": "/sqfAZ2i3iyLUrWFknRrD0dfc7iw.png",
            "name": "Studio 100",
            "origin_country": "BE"
        }
    ],
    "production_countries": [
        {
            "iso_3166_1": "BE",
            "name": "Belgium"
        }
    ],
    "seasons": [
        {
            "air_date": "2018-09-03",
            "episode_count": 10,
            "id": 377920,
            "name": "Season 1",
            "overview": "",
            "poster_path": "/ucyMhzhgKhnTnc2bYuV25QUm29L.jpg",
            "season_number": 1,
            "vote_average": 0
        }
    ],
    "spoken_languages": [
        {
            "english_name": "Dutch",
            "iso_639_1": "nl",
            "name": "Nederlands"
        }
    ],
    "status": "Ended",
    "tagline": "",
    "type": "Scripted",
    "vote_average": 0,
    "vote_count": 0
}

@travisbell said:

I'm not seeing any issues with it:

Request

curl -v "http://api.themoviedb.org/3/tv/latest?api_key=###"

*   Trying 52.85.247.30:80...
* Connected to api.themoviedb.org (52.85.247.30) port 80
> GET /3/tv/latest?api_key=### HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: application/json;charset=utf-8
< Content-Length: 1350
< Connection: keep-alive
< Date: Tue, 06 Feb 2024 21:29:41 GMT
< Server: openresty
< Cache-Control: public, max-age=0
< x-memc: MISS
< x-memc-key: 409cf93616f07a40b32b7847985b6452
< x-memc-age: 0
< x-memc-expires: 0
< ETag: W/"21a1e47300069dedf7361d21b92e363d"
< Vary: Accept-Encoding
< X-Cache: Miss from cloudfront
< Via: 1.1 9c0f6c031cf4ffc52f89552ee0df160c.cloudfront.net (CloudFront)
< X-Amz-Cf-Pop: ORD51-C4
< Alt-Svc: h3=":443"; ma=86400
< X-Amz-Cf-Id: SfqLz8gqRJ0plGBWQQEg2FknAaSM3-CYyJ0S_yRjN1LKIXqEtiR4qQ==
< Vary: Origin
<
* Connection #0 to host api.themoviedb.org left intact

Response

{
    "adult": false,
    "backdrop_path": "/dH4e56FsQaC9yvN2JP1pDKQe4GQ.jpg",
    "created_by": [],
    "episode_run_time": [],
    "first_air_date": "2018-09-03",
    "genres": [],
    "homepage": "",
    "id": 245731,
    "in_production": false,
    "languages": [
        "nl"
    ],
    "last_air_date": "2018-11-05",
    "last_episode_to_air": {
        "id": 5129880,
        "name": "Episode 10",
        "overview": "",
        "vote_average": 0,
        "vote_count": 0,
        "air_date": "2018-11-05",
        "episode_number": 10,
        "episode_type": "standard",
        "production_code": "",
        "runtime": 11,
        "season_number": 1,
        "show_id": 245731,
        "still_path": "/cEEzqRE8wZuMTirSg2R4ztm5zAq.jpg"
    },
    "name": "De Tafel van K3",
    "next_episode_to_air": null,
    "networks": [],
    "number_of_episodes": 10,
    "number_of_seasons": 1,
    "origin_country": [
        "BE"
    ],
    "original_language": "nl",
    "original_name": "De Tafel van K3",
    "overview": "",
    "popularity": 0,
    "poster_path": "/ucyMhzhgKhnTnc2bYuV25QUm29L.jpg",
    "production_companies": [
        {
            "id": 25894,
            "logo_path": "/sqfAZ2i3iyLUrWFknRrD0dfc7iw.png",
            "name": "Studio 100",
            "origin_country": "BE"
        }
    ],
    "production_countries": [
        {
            "iso_3166_1": "BE",
            "name": "Belgium"
        }
    ],
    "seasons": [
        {
            "air_date": "2018-09-03",
            "episode_count": 10,
            "id": 377920,
            "name": "Season 1",
            "overview": "",
            "poster_path": "/ucyMhzhgKhnTnc2bYuV25QUm29L.jpg",
            "season_number": 1,
            "vote_average": 0
        }
    ],
    "spoken_languages": [
        {
            "english_name": "Dutch",
            "iso_639_1": "nl",
            "name": "Nederlands"
        }
    ],
    "status": "Ended",
    "tagline": "",
    "type": "Scripted",
    "vote_average": 0,
    "vote_count": 0
}

My mistake, the correct endpoint: https://api.themoviedb.org/3/person/latest?api_key=

{
    "success": false,
    "status_code": 6,
    "status_message": "Invalid id: The pre-requisite id is invalid or not found."
}

Try now, the /person/latest method should be back and working.

@travisbell said:

Try now, the /person/latest method should be back and working.

Thanks Travis, it's working!

Hi guys The same error is happening for the /movie/search endpoint, e.g: https://api.themoviedb.org/3/movie/search?query=fight&language=de-DE&page=1&api_key=

{
  "success": false,
  "status_code": 6,
  "status_message": "Invalid id: The pre-requisite id is invalid or not found."
}

The two endpoints mentioned above are working for me.

@trippleflp The path isn't /3/movie/search, it's /3/search/movie.

{ "success": false, "status_code": 6, "status_message": "Invalid id: The pre-requisite id is invalid or not found." } Help useEffect (() => { axios.get('http://localhost:3000/api.themoviedb.org/3/authentication')

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

Global

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

در صفحات مدیا

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

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

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

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

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

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

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

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

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

در صفحات بحث

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

تنظیمات

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

ورود