Assistance de TMDB

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 réponses (sur la page 1 sur 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')

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenêtre ouverte
? Ouvrir la fenêtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenêtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion