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?
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by ticao2 🇧🇷 pt-BR
on July 29, 2024 at 12:16 PM
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:
Reply by ashisword
on July 29, 2024 at 12:44 PM
got it, thanks.