Iam just trying the api for discover/movie and the server responds with the error that the id is invalid and when inspect the credentials iam getting the message that cant get authenticated with such key
فیلم و نمایش تلویزیونی را نمیتوانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.
آیا میخواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟
عضو نیستید؟
پاسخ توسط ticao2 🇧🇷 pt-BR
در تاریخ ژوئن 2, 2025 ساعت 11:42 ق.ض
Please post the full text of the error warning here.
Are there two errors? ID and Key?
پاسخ توسط BYIRINGIRO.E
در تاریخ ژوئن 2, 2025 ساعت 11:45 ق.ض
{ "success": false, "status_code": 6, "status_message": "Invalid id: The pre-requisite id is invalid or not found." }
پاسخ توسط ticao2 🇧🇷 pt-BR
در تاریخ ژوئن 2, 2025 ساعت 11:47 ق.ض
Problems with API Request
In order for someone to help you with API Request questions,
it is critical that you post here the API Request you are sending to the TMDb server.
Remember to replace your Key with MY_KEY , YOUR_KEY , THE_KEY , or something like that.
Not the programming code/script you used to build the API Request.
But the API Request that is sent to the TMDb server.
Or the API Request you would like to send.
پاسخ توسط BYIRINGIRO.E
در تاریخ ژوئن 2, 2025 ساعت 11:49 ق.ض
here is the fetch request iam sending
const url = 'https://api.themoviedb.org/3/keyword/keyword_id/movies?include_adult=false&language=en-US&page=1';
const options = {
method: 'GET',
headers: {
accept: 'application/json',
Authorization: 'Bearer eyJhbGciO ...... HWoX668'
}
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));
پاسخ توسط ticao2 🇧🇷 pt-BR
در تاریخ ژوئن 2, 2025 ساعت 3:39 ب.ض
This method has been deprecated. See:
https://developer.themoviedb.org/reference/keyword-movies
It still works,
But you need to inform which keyword ID you want to search.
https://api.themoviedb.org/3/keyword/{keyword_id}/movies
Your Request does not contain the ID. See and compare: