The Movie Database Support

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 replies (on page 1 of 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')

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login