Assistance de TMDB

Hey, this issue doesn't break anything for me but wanted to bring it to your attention that the changes API is returning null values for some an id and a null value for the adult field.

Here is the offending URL minus the API key: https://api.themoviedb.org/3/tv/changes?api_key=APIKEY&language=en-US&append_to_response=alternative_titles,content_ratings,credits,external_ids,images&include_image_language=en,null&start_date=2018-02-22&page=5&end_date=2018-02-25

And just in case it changes, I've pasted the results in a gist

My other question is, any idea why the results would be different when running the above URL without an end_date? Does this mean it's not including results from 2-25 if I use that end_date?

Thanks. Let me know if you have any questions.

7 réponses (sur la page 1 sur 1)

Jump to last post

Hi @heyoni,

With regards to the id being null, not sure. That shouldn't happen. I'll have to take a look. With regards to adult being null, yes, that means the record has been deleted. That is by design.

The default query without a specified end_date uses the current time. There's a 10 minute cache on the change methods it seems to me, so anywhere between the current time and 10 minutes ago.

P.S. the change methods don't support any of those extra params you're using so there's not much point in passing them in wink

https://api.themoviedb.org/3/tv/changes?api_key=###&start_date=2018-02-22&end_date=2018-02-25&page=5

Whoops, you're right about those flags!

Found another one here: https://api.themoviedb.org/3/tv/changes?api_key=APIKEY&start_date=2018-02-24&page=8&end_date=2018-02-26

Is it helpful if I keep reporting new instances of this? Let me know!

@travisbell said:

Hi @heyoni,

With regards to the id being null, not sure. That shouldn't happen. I'll have to take a look. With regards to adult being null, yes, that means the record has been deleted. That is by design.

The default query without a specified end_date uses the current time. There's a 10 minute cache on the change methods it seems to me, so anywhere between the current time and 10 minutes ago.

P.S. the change methods don't support any of those extra params you're using so there's not much point in passing them in wink

https://api.themoviedb.org/3/tv/changes?api_key=###&start_date=2018-02-22&end_date=2018-02-25&page=5

Hi, @travisbell ! We also get null in id field. Check several pages after 92 http://api.themoviedb.org:80/3/movie/changes?page=92&start_date=2018-03-07&api_key=xxx

Hi! I've spotted null in id and adult again, item #23:

http://api.themoviedb.org:80/3/tv/changes?start_date=2018-05-07&end_date=2018-05-08&page=2&api_key=xxx

Hi @horse315, null items can appear in the changes feeds from time to time. That is a different issue than @heyoni's credit id issue.

The null items in the change feeds can be ignored.

@travisbell said:

null items can appear in the changes feeds from time to time.

Is it a bug? Coz it violates spesc changes/get-movie-change-list . Unlike the adult field, id is not marked as or null

Technically it's a bug yes but it's a low priority item for me to fix. It's an issue that is created when the item is deleted and not specific to the actual change lists.

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenêtre ouverte
? Ouvrir la fenêtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenêtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion