The Movie Database Support

hi, endpoint trending/all/day, should return all category including movies, but now only tvshow

endpoint /3/trending/all/day?api_key=apikey&language=en-US&page=1

expectation: should return list of trending movies and tvshow

[
 {
    // ...
    "media_type":"tv"
 },
 {
    // ...
    "media_type":"movie"
 },
    // ...
]

observation:

[
 {
    // ...
    "media_type":"tv"
 },
 {
    // ...
    "media_type":"tv"
 },
    // ...
]

how to reproduce:

  1. go to the endpoint with api key(or access token): https://api.themoviedb.org/3/trending/all/day?api_key=apikey&language=en-US
  2. observe there's no movies(media_type:movie) included in the list

this only happen since 2 days ago, before that it works fine. you can also test it out in reference page: https://developer.themoviedb.org/reference/trending-all

side note:

  • this only effect on trending/all/day, for endpoint trending/movie/day and trending/all/week works fine
  • this also effect tmdb homepage: https://www.themoviedb.org/
  • in case you wondering, this is not because only all trending on that day is only tvshow, because i tested &page=2 until &page=10, still no movie.
  • this will be obvious on GUI if your GUI color label the media type

10 replies (on page 1 of 1)

Jump to last post

Yup, I suspect somebody is gaming the system.

I’ll be spending some time looking into this tomorrow.

@travisbell said:

Yup, I suspect somebody is gaming the system.

I’ll be spending some time looking into this tomorrow.

have you/someone made some changes? because now API trending/all/day return only media_type:person on page 1 until page 4, from page 5 until page 10 it only display media_type: tv, before this it works fine, only display trending tv show and movie.

I tweaked the algorithm for trending and deployed these changes to the website last night. This is why the website is showing different data than what you see on the API.

I'll be looking at pushing these changes to the API later today.

@travisbell said:

I tweaked the algorithm for trending and deployed these changes to the website last night. This is why the website is showing different data than what you see on the API.

I'll be looking at pushing these changes to the API later today.

Is there any news? it affect our system as well

Any news? Our site is affected by this bug!!

it return person now

Trending for Movies, Series, and Actors returning completely generic movies, series, and actors. What happened to the API? For instance, Trending Movies now it's returning this weird list:

{
  "page": 1,
  "results": [
    {
      "backdrop_path": "/eHUvAuEgs0nas0JrFXcYaXfpedw.jpg",
      "id": 1373970,
      "title": "Opération Trump : Les espions russes à la conquête de l'Amérique",
      "original_title": "Opération Trump : Les espions russes à la conquête de l'Amérique",
      "overview": "",
      "poster_path": "/nNJiDZ0MmiO6Lc01G681ffTLa5A.jpg",
      "media_type": "movie",
      "adult": false,
      "original_language": "fr",
      "genre_ids": [
        99
      ],
      "popularity": 0,
      "release_date": "2024-10-20",
      "video": false,
      "vote_average": 8,
      "vote_count": 2
    },
    {
      "backdrop_path": null,
      "id": 1373957,
      "title": "Rise of the Ghoul Log",
      "original_title": "Rise of the Ghoul Log",
      "overview": "The team behind Horror's Greatest resurrects everyone's favorite jack-o-lantern just in time for spooky season.",
      "poster_path": "/sTxycXMAzhPGBpUWBlwm7tnMOZj.jpg",
      "media_type": "movie",
      "adult": false,
      "original_language": "en",
      "genre_ids": [
        27
      ],
      "popularity": 0,
      "release_date": "2024-10-20",
      "video": false,
      "vote_average": 0,
      "vote_count": 0
    },
    ...
  ],
  "total_pages": 1000,
  "total_results": 20000
}

Yes its returning Person media_type for Trending all just this endpoint

It fixed now

I just deployed the updates to the API. Within the next few minutes all of the cached trending responses will have been purged from cache and you will see the data look correct again.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Masuk