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?
Non podes atopar unha película ou serie? Inicia sesión para creala.
Queres valorar ou engadir o elemento a unha listaxe?
Non es membro?
Resposta de ticao2 🇧🇷 pt-BR
no 29 de xullo do 2024 ás 12:16PM
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:
Resposta de ashisword
no 29 de xullo do 2024 ás 12:44PM
got it, thanks.