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?
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de ticao2 🇧🇷 pt-BR
le 29 juillet 2024 Ă 12h16
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:
Réponse de ashisword
le 29 juillet 2024 Ă 12h44
got it, thanks.