Hi
I’ve a new problem. The /3/list/{id}/add_item method returns a 403 code when I try to add a movie which is already in the list. (it works perfectly when the movie is not already in the list.)
Here the query: http://api.themoviedb.org/3/list/51c991a719c29575b200e5e0/add_item?api_key=##############&session_id=##############
And the JSON body:
{"media_id":550}
Thanks.
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Travis Bell
le 28 juin 2013 à 09h43
Hey Dave,
I can't seem to replicate this. Here's my example cURL query. The first call responds with a
status_code: 12
and every subsequent call responds with astatus_code: 8
.Réponse de tmdb78260312
le 28 juin 2013 à 10h59
Strange … I can reproduce it (tested it now again.)
Here is what I’ve done:
…and so on.
Réponse de Travis Bell
le 28 juin 2013 à 12h51
Aha! Your other post got me thinking about this.
Yes, the response code is 403 but if you take a look at the response, we're responding with the proper response.
Looking through the w3 docs, I'd say this is likely the correct response code.