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 ب.ض
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 ب.ض
got it, thanks.