The Movie Database Подршка

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')

Не можеш да нађеш филм или серију? Пријави се да додаш.

Глобално

s фокусирај траку за претрагу
p отворите мени профила
esc затворити отворени прозор
? отвори прозор пречице на тастатури

На страницама медија

b вратити се назад (или родитељу кад је то применљиво)
e иди на страницу за уређивање

На страницама ТВ сезона

(стрелица надесно) пређите на следећу сезону
(лева стрелица) иди на претходну сезону

На страницама ТВ епизода

(стрелица надесно) пређите на следећу епизоду
(лева стрелица) иди на претходну епизоду

На свим страницама са сликама

a отвори прозор за додавање слике

На свим страницама за уређивање

t отвори селектор превода
ctrl+ s пошаљи образац

На страницама за дискусију

n отвори нову дискусију
w мења статус гледања
p мења јавно/приватно
c мења отвори/затвори
a отвори активност
r одговор на дискусију
l иди на последњи одговор
ctrl+ enter пошаљи поруку
(стрелица надесно) следећа страница
(лева стрелица) претходна страница

Подешавања

Желите ли да оцените или додате ову ставку у листу?

Пријави се