The Movie Database-ondersteuning

Hello, I am getting the error

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

when i tried to send request using

import requests  url = "https://api.themoviedb.org/3/movie/movie_id?language=en-US"  headers = {     "accept": "application/json",     "Authorization": "Bearer ACCEESS_TOKEN" }  response = requests.get(url, headers=headers)  print(response.text)

can you help me fix it?

2 antwoorden (op pagina 1 van 1)

Jump to last post

@ashisword said:
Inavlid id error
Hello, I am getting the error

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

when i tried to send request using

import requests  url = "https://api.themoviedb.org/3/movie/movie_id?language=en-US"  headers = {     "accept": "application/json",     "Authorization": "Bearer ACCEESS_TOKEN" }  response = requests.get(url, headers=headers)  print(response.text)

can you help me fix it?

I believe the error message refers to the movie ID, i.e. movie_id.
Did you use a valid ID of a movie that exists here in the database?
What ID did you use?
An example with ID 550:

curl --request GET \
     --url 'https://api.themoviedb.org/3/movie/550?language=en-US' \
     --header 'Authorization: Bearer eyJhbGciO....eiTFklMcHIe3r...uHxjw9LKuY' \
     --header 'accept: application/json'

got it, thanks.

Film of tv-serie niet gevonden? Meld je aan om deze toe te voegen.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op tv-seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met tv-series

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c schakelen sluiten/openen
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen