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.
Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.
Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;
Δεν είσαι μέλος;
Απάντηση από τον/την Travis Bell
στις 28 Ιούνιος 2013 στις 09:43 ΕΊΜΑΙ
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
.Απάντηση από τον/την tmdb78260312
στις 28 Ιούνιος 2013 στις 10:59 ΕΊΜΑΙ
Strange … I can reproduce it (tested it now again.)
Here is what I’ve done:
…and so on.
Απάντηση από τον/την Travis Bell
στις 28 Ιούνιος 2013 στις 12:51 ΜΜ
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.