There are many titles that return after a 'Collection Details' API call, error 34. Setting aside my Python program, I have tried using API calls from the TMDB website. Here is an example
{
"success": false,
"status_code": 34,
"status_message": "The resource you requested could not be found."
}
https://www.themoviedb.org/movie/137968-drift
If I use the website, I get the information I'm looking for; however, with API calls, it's not possible. I'm not sure if it's a duplicate since there is only one result for that ID
Through my Python program, I obtained perhaps 500 or 600 results similar to the one described
What i can do ? Thank you
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 Travis Bell
on November 24, 2023 at 5:22 PM
The screenshot you posted is you trying to access a collection, not a movie.
Reply by tmdb1999
on November 24, 2023 at 5:58 PM
I'm sorry I confused "collections" with "translations..."
I debugged the program. The Python library creates this URLs to obtain the translations:
1)
2)
while the 'developer.themoviedb.org' runs this URL
The python library searches for "details" by ID (1) ,his method is called 'details', and then looks for translations (2).
The second (2) URL causes error 34, do you think it's correct? Thank you
Edit:
From this doc page: https://developer.themoviedb.org/docs/search-and-query-for-details
It works , but the syntax is similar but not identical to url(2) , I don't know if it can be a problem
I have no idea what the problem might be
Reply by superboy97
on November 25, 2023 at 1:02 AM
Your url(2) is missing the id of the concerned movie.
Reply by tmdb1999
on November 25, 2023 at 3:25 AM
...Yes I hadn't noticed Thank you !!