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?
Не можеш да нађеш филм или серију? Пријави се да додаш.
Желите ли да оцените или додате ову ставку у листу?
Нисте члан?
Одговор од ticao2 🇧🇷 pt-BR
дана 29. јул 2024. у 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:
Одговор од ashisword
дана 29. јул 2024. у 12:44 PM
got it, thanks.