Υποστήριξη για το 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."}

13 απαντήσεις(στη σελίδα 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')

@Baequeen said:

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

Hi,

I have the same error with invalid id but I don't know how can I fix it. I try to find an other id in my menu but nothing...

For sur the api key isn't the id right ?

Please create a new thread with the details of the request you are making, no sense on piling onto someone else's already solved (and mostly unrelated) problem.

Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.

Σε όλες τις σελίδες

s Εστίαση στη μπάρα αναζήτησης
p Άνοιγμα μενού προφίλ
esc Κλείσιμο ανοιχτού παραθύρου
? Άνοιγμα παραθύρου συντομεύσεων πληκτρολογίου

Στις σελίδες μέσων

b Επιστροφή στην προηγούμενη σελίδα(ή στην αρχική σελίδα όταν είναι εφικτό)
e Μετάβαση στη σελίδα επεξεργασίας

Στις σελίδες κύκλων σειρών

(Δεξιό βέλος) Μετάβαση στον επόμενο κύκλο
(Αριστερό βέλος) Μετάβαση στον προηγούμενο κύκλο

Στις σελίδες επεισοδίων σειρών

(Δεξιό βέλος) Μετάβαση στο επόμενο επεισόδιο
(Αριστερό βέλος) Μετάβαση στο προηγούμενο επεισόδιο

Σε όλες τις σελίδες εικόνων

a Άνοιγμα παραθύρου προσθήκης εικόνας

Σε όλες τις σελίδες επεξεργασίας

t Άνοιγμα επιλογέα μετάφρασης
ctrl+ s Υποβολή φόρμας

Στις σελίδες συζήτησης

n Δημιουργία νέας συζήτησης
w Ρύθμιση κατάστασης παρακολούθησης
p Ρύθμιση ως δημόσια/ιδιωτική
c Ρύθμιση ανοίγματος/κλεισίματος
a Άνοιγμα δραστηριότητας
r Απάντηση στη συζήτηση
l Μετάβαση στην τελευταία απάντηση
ctrl+ enter Υποβολή μηνύματος
(Δεξιό βέλος) Επόμενη σελίδα
(Αριστερό βέλος) Προηγούμενη σελίδα

Ρυθμίσεις

Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;

Σύνδεση