Hello,
I noticed an issue with the API, and it's also being reported on the website.
Here's the problem:
When searching for a collection (using the website or the API), a number is displayed that has nothing to do with the number of results, for example:
Marvel
Link: https://www.themoviedb.org/search/collection?query=marvel
Count: 19
Real count: 6
Harry Potter
Link: https://www.themoviedb.org/search?query=Harry%20potter
Count: 2
Real count: 1
However, there are collections where the result is good:
Lord of the rings
Link: https://www.themoviedb.org/search/collection?query=the%20lord%20of%20the%20rings
Count: 3
Real count: 3
How can this be explained?
Second problem related to collections but this time only visible with the API:
https://api.themoviedb.org/3/search/collection?query=marvel&include_adult=false&language=en-US&page=1
{
"page": 1,
"results": [
{
"adult": false,
"backdrop_path": "/r1Q3jyOpfbF3VDU52w8RzkTPbfe.jpg",
"id": 76122,
"name": "Marvel One-Shot: The Consultant",
"original_language": "en",
"original_name": "Marvel One-Shot: The Consultant",
"overview": "Agent Coulson informs Agent Sitwell that the World Security Council wishes Emil Blonsky to be released from prison to join the Avengers Initiative. As Nick Fury doesn't want to release Blonsky, the two agents decide to send a patsy to sabotage the meeting...",
"poster_path": "/xqNLXUUvBnfVk6m3QFGGU0Grgs7.jpg"
},
{...},
{...},
{...},
{...},
{...}
],
"total_pages": 1,
"total_results": 19
}
But when trying to get the details of this collection (ID: 76122) with this URL:
https://api.themoviedb.org/3/collection/76122?language=en-US
We have a 404:
{
"success": false,
"status_code": 34,
"status_message": "The resource you requested could not be found."
}
I understand that this ID refers to a movie and not a collection, however what is this ID doing in a collection that isn't one?
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?